Class DefaultImmutableEdgeManager.OnHeapEdgeIterator
- java.lang.Object
-
- com.alibaba.graphscope.graph.impl.DefaultImmutableEdgeManager.OnHeapEdgeIterator
-
- All Implemented Interfaces:
DefaultImmutableEdgeManager.ImmutableEdgeIterator
,Iterator
- Enclosing class:
- DefaultImmutableEdgeManager<GRAPE_OID_T,GRAPE_VID_T,GRAPE_VDATA_T,GRAPE_EDATA_T,GIRAPH_OID_T extends org.apache.hadoop.io.WritableComparable,GIRAPH_EDATA_T extends org.apache.hadoop.io.Writable>
public class DefaultImmutableEdgeManager.OnHeapEdgeIterator extends Object implements DefaultImmutableEdgeManager.ImmutableEdgeIterator
-
-
Constructor Summary
Constructors Constructor Description OnHeapEdgeIterator(AbstractEdgeManager.TupleIterator tupleIterator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
Returnstrue
if the iteration has more elements.Object
next()
Returns the next element in the iteration.void
setLid(int lid)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-
-
-
Constructor Detail
-
OnHeapEdgeIterator
public OnHeapEdgeIterator(AbstractEdgeManager.TupleIterator tupleIterator)
-
-
Method Detail
-
setLid
public void setLid(int lid)
- Specified by:
setLid
in interfaceDefaultImmutableEdgeManager.ImmutableEdgeIterator
-
hasNext
public boolean hasNext()
Returnstrue
if the iteration has more elements. (In other words, returnstrue
ifnext()
would return an element rather than throwing an exception.)
-
-