public class ResultSetIterator<R extends TitanElement> extends Object implements Iterator<R>
Iterator.remove()
method based on element's remove method.Constructor and Description |
---|
ResultSetIterator(Iterator<R> inner,
int limit) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
R |
next() |
void |
remove() |
static <R extends TitanElement> |
wrap(Iterable<R> inner,
int limit) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public boolean hasNext()
hasNext
in interface Iterator<R extends TitanElement>
public R next()
next
in interface Iterator<R extends TitanElement>
public void remove()
remove
in interface Iterator<R extends TitanElement>
public static <R extends TitanElement> Iterable<R> wrap(Iterable<R> inner, int limit)
Copyright © 2012–2015. All rights reserved.