public class TBitSet extends TObject implements TCloneable, TSerializable
Modifier and Type | Method and Description |
---|---|
void |
and(TBitSet set) |
void |
andNot(TBitSet set) |
int |
cardinality() |
void |
clear() |
void |
clear(int bitIndex) |
void |
clear(int fromIndex,
int toIndex) |
TObject |
clone0() |
boolean |
equals(Object other) |
void |
flip(int bitIndex) |
void |
flip(int fromIndex,
int toIndex) |
boolean |
get(int bitIndex) |
TBitSet |
get(int fromIndex,
int toIndex) |
int |
hashCode() |
boolean |
intersects(TBitSet set) |
boolean |
isEmpty() |
int |
length() |
int |
nextClearBit(int fromIndex) |
int |
nextSetBit(int fromIndex) |
void |
or(TBitSet set) |
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() |
byte[] |
toByteArray() |
long[] |
toLongArray() |
String |
toString() |
static TBitSet |
valueOf(byte[] bytes) |
static TBitSet |
valueOf(long[] longs) |
void |
xor(TBitSet set) |
public static TBitSet valueOf(long[] longs)
public static TBitSet valueOf(byte[] bytes)
public byte[] toByteArray()
public long[] toLongArray()
public void flip(int bitIndex)
public void flip(int fromIndex, int toIndex)
public void set(int bitIndex)
public void set(int bitIndex, boolean value)
public void set(int fromIndex, int toIndex)
public void set(int fromIndex, int toIndex, boolean value)
public void clear(int bitIndex)
public void clear(int fromIndex, int toIndex)
public void clear()
public boolean get(int bitIndex)
public TBitSet get(int fromIndex, int toIndex)
public int nextSetBit(int fromIndex)
public int nextClearBit(int fromIndex)
public int previousSetBit(int fromIndex)
public int previousClearBit(int fromIndex)
public int length()
public boolean intersects(TBitSet set)
public int cardinality()
public void and(TBitSet set)
public void andNot(TBitSet set)
public void or(TBitSet set)
public void xor(TBitSet set)
public boolean isEmpty()
public int size()
public TObject clone0()
Copyright © 2019. All rights reserved.