Class Mutable128BitSet
java.lang.Object
com.oracle.truffle.regex.util.Abstract128BitSet
com.oracle.truffle.regex.util.Mutable128BitSet
Mutable bit set of fixed size 128.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(int b) booleanaddAll(Mutable128BitSet other) voidclear()voidclear(int b) copy()longgetHi()longgetLo()voidintersect(Mutable128BitSet other) voidinvert()iterator()booleanremove(int b) booleanremoveAll(Mutable128BitSet other) booleanretainAll(Mutable128BitSet other) voidset(int b) voidsetRange(int rangeLo, int rangeHi) voidsubtract(Mutable128BitSet other) voidunion(Immutable128BitSet other) voidunion(Mutable128BitSet other) Methods inherited from class com.oracle.truffle.regex.util.Abstract128BitSet
contains, dumpRaw, equals, get, getMax, getMin, getMinInverse, hashCode, intersects, isDisjoint, isEmpty, isFull, isSingleRange, matches2CharsWith1BitDifference, numberOfRanges, rangesIterator, size, spliterator, stream, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
Mutable128BitSet
public Mutable128BitSet() -
Mutable128BitSet
public Mutable128BitSet(long lo, long hi)
-
-
Method Details
-
copy
-
getLo
public long getLo()- Specified by:
getLoin classAbstract128BitSet
-
getHi
public long getHi()- Specified by:
getHiin classAbstract128BitSet
-
clear
public void clear() -
set
public void set(int b) -
clear
public void clear(int b) -
add
public boolean add(int b) -
remove
public boolean remove(int b) -
setRange
public void setRange(int rangeLo, int rangeHi) -
invert
public void invert() -
intersect
-
subtract
-
union
-
union
-
addAll
-
retainAll
-
removeAll
-
toImmutable
-
iterator
- Specified by:
iteratorin interfaceIterable<Integer>- Overrides:
iteratorin classAbstract128BitSet
-