public class ResultSetIterator<R extends JanusGraphElement> extends Object implements org.apache.tinkerpop.gremlin.structure.util.CloseableIterator<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 |
|---|---|
void |
close() |
boolean |
hasNext() |
R |
next() |
void |
remove() |
static <R extends JanusGraphElement> |
wrap(Iterable<R> inner,
int limit) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseIterator, empty, offorEachRemainingpublic boolean hasNext()
hasNext in interface Iterator<R extends JanusGraphElement>public R next()
next in interface Iterator<R extends JanusGraphElement>public void remove()
remove in interface Iterator<R extends JanusGraphElement>public void close()
close in interface AutoCloseableclose in interface org.apache.tinkerpop.gremlin.structure.util.CloseableIterator<R extends JanusGraphElement>public static <R extends JanusGraphElement> Iterable<R> wrap(Iterable<R> inner, int limit)
Copyright © 2012–2024. All rights reserved.