Package org.teavm.classlib.java.util
Class TBitSet
java.lang.Object
org.teavm.classlib.java.lang.TObject
org.teavm.classlib.java.util.TBitSet
- All Implemented Interfaces:
TSerializable
,TCloneable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
int
void
clear()
void
clear
(int bitIndex) void
clear
(int fromIndex, int toIndex) clone0()
boolean
void
flip
(int bitIndex) void
flip
(int fromIndex, int toIndex) boolean
get
(int bitIndex) get
(int fromIndex, int toIndex) int
hashCode()
boolean
intersects
(TBitSet set) boolean
isEmpty()
int
length()
int
nextClearBit
(int fromIndex) int
nextSetBit
(int fromIndex) void
int
previousClearBit
(int fromIndex) int
previousSetBit
(int fromIndex) void
set
(int bitIndex) void
set
(int bitIndex, boolean value) void
set
(int fromIndex, int toIndex) void
set
(int fromIndex, int toIndex, boolean value) int
size()
stream()
byte[]
long[]
toString()
static TBitSet
valueOf
(byte[] bytes) static TBitSet
valueOf
(long[] longs) static TBitSet
valueOf
(TByteBuffer buff) static TBitSet
valueOf
(TLongBuffer buff) void
-
Constructor Details
-
TBitSet
public TBitSet() -
TBitSet
public TBitSet(int nbits)
-
-
Method Details
-
valueOf
-
valueOf
-
valueOf
-
valueOf
-
toByteArray
public byte[] toByteArray() -
toLongArray
public long[] toLongArray() -
flip
public void flip(int bitIndex) -
flip
public void flip(int fromIndex, int toIndex) -
set
public void set(int bitIndex) -
set
public void set(int bitIndex, boolean value) -
set
public void set(int fromIndex, int toIndex) -
set
public void set(int fromIndex, int toIndex, boolean value) -
clear
public void clear(int bitIndex) -
clear
public void clear(int fromIndex, int toIndex) -
clear
public void clear() -
get
public boolean get(int bitIndex) -
get
-
nextSetBit
public int nextSetBit(int fromIndex) -
nextClearBit
public int nextClearBit(int fromIndex) -
previousSetBit
public int previousSetBit(int fromIndex) -
previousClearBit
public int previousClearBit(int fromIndex) -
length
public int length() -
intersects
-
cardinality
public int cardinality() -
and
-
andNot
-
or
-
xor
-
isEmpty
public boolean isEmpty() -
size
public int size() -
equals
-
hashCode
public int hashCode() -
toString
-
stream
-
clone0
-