Package org.apache.lucene.util
Interface BytesRefArray.IndexedBytesRefIterator
- All Superinterfaces:
BytesRefIterator
- Enclosing class:
BytesRefArray
An extension of
BytesRefIterator that allows retrieving the index of the current
element-
Field Summary
Fields inherited from interface org.apache.lucene.util.BytesRefIterator
EMPTY -
Method Summary
Modifier and TypeMethodDescriptionintord()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 Details
-
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.
-