Class Abstract128BitSet
java.lang.Object
com.oracle.truffle.regex.util.Abstract128BitSet
- Direct Known Subclasses:
Immutable128BitSet,Mutable128BitSet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(Abstract128BitSet other) dumpRaw()booleanbooleanget(int b) abstract longgetHi()abstract longgetLo()intgetMax()Returns the maximum value currently contained in this set.intgetMin()Returns the minimum value currently contained in this set.intReturns the minimum value contained in the inverse of this set.inthashCode()Compatible withBitSets.hashCode(long[]).booleanintersects(Abstract128BitSet other) booleanisDisjoint(Abstract128BitSet other) booleanisEmpty()booleanisFull()booleaniterator()booleanintintsize()stream()toString()
-
Constructor Details
-
Abstract128BitSet
public Abstract128BitSet()
-
-
Method Details
-
getLo
public abstract long getLo() -
getHi
public abstract long getHi() -
isEmpty
public boolean isEmpty() -
isFull
public boolean isFull() -
size
public int size() -
get
public boolean get(int b) -
intersects
-
isDisjoint
-
contains
-
hashCode
-
equals
-
matches2CharsWith1BitDifference
public boolean matches2CharsWith1BitDifference() -
isSingleRange
public boolean isSingleRange() -
getMin
public int getMin()Returns the minimum value currently contained in this set. Must not be called on empty sets. -
getMax
public int getMax()Returns the maximum value currently contained in this set. Must not be called on empty sets. -
getMinInverse
public int getMinInverse()Returns the minimum value contained in the inverse of this set. Must not be called on full sets. -
iterator
-
numberOfRanges
public int numberOfRanges() -
rangesIterator
-
spliterator
- Specified by:
spliteratorin interfaceIterable<Integer>
-
stream
-
toString
-
dumpRaw
-