- All Known Implementing Classes:
BytesRefArray,FixedLengthBytesRefArray
interface SortableBytesRefArray
-
Method Summary
Modifier and TypeMethodDescriptionintAppend a new valuevoidclear()Clear all previously stored valuesiterator(Comparator<BytesRef> comp) Sort all values by the provided comparator and return an iterator over the sorted valuesintsize()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
-