Package org.apache.lucene.util
Interface SortableBytesRefArray
- All Known Implementing Classes:
BytesRefArray
,FixedLengthBytesRefArray
interface SortableBytesRefArray
-
Method Summary
Modifier and TypeMethodDescriptionint
Append a new valuevoid
clear()
Clear all previously stored valuesiterator
(Comparator<BytesRef> comp) Sort all values by the provided comparator and return an iterator over the sorted valuesint
size()
Returns the number of values appended so far
-
Method Details
-
append
Append a new value -
clear
void clear()Clear all previously stored values -
size
int size()Returns the number of values appended so far -
iterator
Sort all values by the provided comparator and return an iterator over the sorted values
-