Package org.apache.lucene.util
Interface BytesRefArray.IndexedBytesRefIterator
-
- All Superinterfaces:
BytesRefIterator
- Enclosing class:
- BytesRefArray
public static interface BytesRefArray.IndexedBytesRefIterator extends BytesRefIterator
An extension ofBytesRefIterator
that allows retrieving the index of the current element
-
-
Field Summary
-
Fields inherited from interface org.apache.lucene.util.BytesRefIterator
EMPTY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
ord()
Returns the ordinal position of the element that was returned in the latest call ofBytesRefIterator.next()
.-
Methods inherited from interface org.apache.lucene.util.BytesRefIterator
next
-
-
-
-
Method Detail
-
ord
int ord()
Returns the ordinal position of the element that was returned in the latest call ofBytesRefIterator.next()
. Do not call this method ifBytesRefIterator.next()
is not called yet or the last call returned a null value.
-
-