java.lang.Object
org.apache.lucene.util.automaton.IntSet
org.apache.lucene.util.automaton.FrozenIntSet
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) int[]getArray()Return an array representation of this int set's values.(package private) long(package private) intsize()Guaranteed to be less than or equal to the length of the array returned byIntSet.getArray().toString()
-
Field Details
-
values
final int[] values -
state
final int state -
hashCode
final long hashCode
-
-
Constructor Details
-
FrozenIntSet
FrozenIntSet(int[] values, long hashCode, int state)
-
-
Method Details
-
getArray
int[] getArray()Description copied from class:IntSetReturn an array representation of this int set's values. Values are valid for indices [0,IntSet.size()). If this is a mutable int set, then changes to the set are not guaranteed to be visible in this array.- Specified by:
getArrayin classIntSet- Returns:
- an array containing the values for this set, guaranteed to be at least
IntSet.size()elements
-
size
int size()Description copied from class:IntSetGuaranteed to be less than or equal to the length of the array returned byIntSet.getArray(). -
longHashCode
long longHashCode()- Specified by:
longHashCodein classIntSet
-
toString
-