Package org.apache.lucene.util
Interface SortableBytesRefArray
-
- All Known Implementing Classes:
BytesRefArray
,FixedLengthBytesRefArray
interface SortableBytesRefArray
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
append(BytesRef bytes)
Append a new valuevoid
clear()
Clear all previously stored valuesBytesRefIterator
iterator(java.util.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 Detail
-
append
int append(BytesRef bytes)
Append a new value
-
clear
void clear()
Clear all previously stored values
-
size
int size()
Returns the number of values appended so far
-
iterator
BytesRefIterator iterator(java.util.Comparator<BytesRef> comp)
Sort all values by the provided comparator and return an iterator over the sorted values
-
-