| Modifier and Type | Method and Description |
|---|---|
static ICursor |
concatenate(ICursor c1,
ICursor c2)
Creates a new cursor that provides a logical view on the concatenation of the two given cursors.
|
static <T> ICursor |
createCursor(Collection<T> c)
Creates a cursor view of the given collection.
|
static <T> IEdgeCursor |
createEdgeCursor(Collection<T> c)
Creates a cursor view of the given collection.
|
static <T> INodeCursor |
createNodeCursor(Collection<T> c)
Creates a cursor view of the given collection.
|
static Object[] |
toArray(ICursor cursor,
Object[] dest)
Creates or fills an array with the values provided by the cursor.
|
public static final ICursor concatenate(ICursor c1, ICursor c2)
c1 - - first concatenation argumentc2 - - second concatenation argumentpublic static final <T> ICursor createCursor(Collection<T> c)
Creates an ICursor view of the given collection.
Note that the returned cursor does not support the prev and toLast
operations.
c - The collection.public static final <T> IEdgeCursor createEdgeCursor(Collection<T> c)
Note that the returned cursor does not support the operations prev,
toLast, and IEdgeCursor.cyclicPrev().
c - The collection.IEdgeCursor view of the given collection.public static final <T> INodeCursor createNodeCursor(Collection<T> c)
Note that the returned cursor does not support the operations prev,
toLast, and INodeCursor.cyclicPrev().
c - The collection.INodeCursor view of the given collection.public static final Object[] toArray(ICursor cursor, Object[] dest)
cursor - the cursordest - the array to fill with the values or null if the method should create the array itself