aa
|
Classes | |
class | Iter |
Public Member Functions | |
int | bitCount () |
IBitSet | clear () |
boolean | clr (int idx) |
boolean | disjoint (IBitSet bs) |
IBitSet | flip () |
boolean | is_empty () |
Iterator< Integer > | iterator () |
int | max () |
IBitSet | or (IBitSet bs) |
boolean | set (int idx) |
boolean | subsetsX (IBitSet bs) |
void | subtract (IBitSet bs) |
String | toString () |
SB | toString (SB sb) |
boolean | tst (int idx) |
Static Public Attributes | |
static final IBitSet | EMPTY = new IBitSet() |
static final IBitSet | FULL = new IBitSet().flip() |
Private Member Functions | |
boolean | _clr (int idx) |
boolean | _set (int idx) |
boolean | _tst (int idx) |
int | wd (int x) |
int | xd (int x) |
Static Private Member Functions | |
static int | idx (int i) |
static int | mask (int i) |
Private Attributes | |
final AryInt | _bits = new AryInt() |
boolean | _sign |
Definition at line 10 of file IBitSet.java.
|
private |
Definition at line 36 of file IBitSet.java.
References com.cliffc.aa.util.IBitSet._bits, com.cliffc.aa.util.AryInt._len, com.cliffc.aa.util.AryInt.atX(), com.cliffc.aa.util.IBitSet.idx(), com.cliffc.aa.util.AryInt.last(), com.cliffc.aa.util.IBitSet.mask(), com.cliffc.aa.util.AryInt.pop(), and com.cliffc.aa.util.AryInt.setX().
Referenced by com.cliffc.aa.util.IBitSet.clr(), and com.cliffc.aa.util.IBitSet.set().
|
private |
Definition at line 29 of file IBitSet.java.
References com.cliffc.aa.util.IBitSet._bits, com.cliffc.aa.util.AryInt.atX(), com.cliffc.aa.util.IBitSet.idx(), com.cliffc.aa.util.IBitSet.mask(), and com.cliffc.aa.util.AryInt.setX().
Referenced by com.cliffc.aa.util.IBitSet.clr(), and com.cliffc.aa.util.IBitSet.set().
|
private |
Definition at line 23 of file IBitSet.java.
References com.cliffc.aa.util.IBitSet._bits, com.cliffc.aa.util.AryInt.atX(), com.cliffc.aa.util.IBitSet.idx(), and com.cliffc.aa.util.IBitSet.mask().
Referenced by com.cliffc.aa.util.IBitSet.tst().
int com.cliffc.aa.util.IBitSet.bitCount | ( | ) |
Definition at line 47 of file IBitSet.java.
References com.cliffc.aa.util.IBitSet._bits, com.cliffc.aa.util.AryInt._es, com.cliffc.aa.util.AryInt._len, and com.cliffc.aa.util.IBitSet._sign.
IBitSet com.cliffc.aa.util.IBitSet.clear | ( | ) |
Definition at line 66 of file IBitSet.java.
References com.cliffc.aa.util.IBitSet._bits, com.cliffc.aa.util.IBitSet._sign, and com.cliffc.aa.util.AryInt.clear().
boolean com.cliffc.aa.util.IBitSet.clr | ( | int | idx | ) |
Definition at line 27 of file IBitSet.java.
References com.cliffc.aa.util.IBitSet._clr(), com.cliffc.aa.util.IBitSet._set(), com.cliffc.aa.util.IBitSet._sign, and com.cliffc.aa.util.IBitSet.idx().
boolean com.cliffc.aa.util.IBitSet.disjoint | ( | IBitSet | bs | ) |
Definition at line 88 of file IBitSet.java.
References com.cliffc.aa.util.IBitSet._bits, com.cliffc.aa.util.AryInt._len, com.cliffc.aa.util.IBitSet._sign, com.cliffc.aa.util.IBitSet.is_empty(), and com.cliffc.aa.util.IBitSet.wd().
IBitSet com.cliffc.aa.util.IBitSet.flip | ( | ) |
Definition at line 45 of file IBitSet.java.
References com.cliffc.aa.util.IBitSet._sign.
|
staticprivate |
Definition at line 18 of file IBitSet.java.
Referenced by com.cliffc.aa.util.IBitSet._clr(), com.cliffc.aa.util.IBitSet._set(), com.cliffc.aa.util.IBitSet._tst(), com.cliffc.aa.util.IBitSet.clr(), com.cliffc.aa.util.IBitSet.Iter.hasNext(), com.cliffc.aa.util.IBitSet.Iter.next(), com.cliffc.aa.util.IBitSet.set(), and com.cliffc.aa.util.IBitSet.tst().
boolean com.cliffc.aa.util.IBitSet.is_empty | ( | ) |
Definition at line 85 of file IBitSet.java.
References com.cliffc.aa.util.IBitSet._bits, com.cliffc.aa.util.AryInt._len, and com.cliffc.aa.util.IBitSet._sign.
Referenced by com.cliffc.aa.util.IBitSet.disjoint(), and com.cliffc.aa.util.IBitSet.subsetsX().
Iterator<Integer> com.cliffc.aa.util.IBitSet.iterator | ( | ) |
|
staticprivate |
Definition at line 19 of file IBitSet.java.
Referenced by com.cliffc.aa.util.IBitSet._clr(), com.cliffc.aa.util.IBitSet._set(), com.cliffc.aa.util.IBitSet._tst(), and com.cliffc.aa.util.IBitSet.Iter.hasNext().
int com.cliffc.aa.util.IBitSet.max | ( | ) |
Definition at line 54 of file IBitSet.java.
References com.cliffc.aa.util.IBitSet._bits, com.cliffc.aa.util.AryInt._len, com.cliffc.aa.util.IBitSet._sign, and com.cliffc.aa.util.AryInt.last().
Referenced by com.cliffc.aa.util.IBitSet.subsetsX().
Definition at line 73 of file IBitSet.java.
References com.cliffc.aa.util.IBitSet._bits, com.cliffc.aa.util.AryInt._len, com.cliffc.aa.util.IBitSet._sign, com.cliffc.aa.util.AryInt.atX(), com.cliffc.aa.util.AryInt.setX(), and com.cliffc.aa.util.IBitSet.wd().
boolean com.cliffc.aa.util.IBitSet.set | ( | int | idx | ) |
Definition at line 26 of file IBitSet.java.
References com.cliffc.aa.util.IBitSet._clr(), com.cliffc.aa.util.IBitSet._set(), com.cliffc.aa.util.IBitSet._sign, and com.cliffc.aa.util.IBitSet.idx().
Referenced by com.cliffc.aa.type.Bits< BitsRPC >.bitset(), and com.cliffc.aa.HM.HM4.T2.live().
boolean com.cliffc.aa.util.IBitSet.subsetsX | ( | IBitSet | bs | ) |
Definition at line 103 of file IBitSet.java.
References com.cliffc.aa.util.IBitSet._bits, com.cliffc.aa.util.AryInt._len, com.cliffc.aa.util.IBitSet.is_empty(), com.cliffc.aa.util.IBitSet.max(), and com.cliffc.aa.util.IBitSet.xd().
void com.cliffc.aa.util.IBitSet.subtract | ( | IBitSet | bs | ) |
Definition at line 80 of file IBitSet.java.
References com.cliffc.aa.util.IBitSet._bits, com.cliffc.aa.util.AryInt._len, com.cliffc.aa.util.AryInt.atX(), com.cliffc.aa.util.AryInt.setX(), and com.cliffc.aa.util.IBitSet.wd().
String com.cliffc.aa.util.IBitSet.toString | ( | ) |
Definition at line 112 of file IBitSet.java.
References com.cliffc.aa.util.IBitSet.toString().
Referenced by com.cliffc.aa.util.IBitSet.toString().
Definition at line 113 of file IBitSet.java.
References com.cliffc.aa.util.IBitSet._bits, com.cliffc.aa.util.AryInt._len, com.cliffc.aa.util.IBitSet._sign, com.cliffc.aa.util.SB.p(), com.cliffc.aa.util.IBitSet.tst(), and com.cliffc.aa.util.SB.unchar().
boolean com.cliffc.aa.util.IBitSet.tst | ( | int | idx | ) |
Definition at line 22 of file IBitSet.java.
References com.cliffc.aa.util.IBitSet._sign, com.cliffc.aa.util.IBitSet._tst(), and com.cliffc.aa.util.IBitSet.idx().
Referenced by com.cliffc.aa.util.IBitSet.toString().
|
private |
Definition at line 60 of file IBitSet.java.
References com.cliffc.aa.util.IBitSet._bits, and com.cliffc.aa.util.AryInt._es.
Referenced by com.cliffc.aa.util.IBitSet.disjoint(), com.cliffc.aa.util.IBitSet.or(), and com.cliffc.aa.util.IBitSet.subtract().
|
private |
Definition at line 61 of file IBitSet.java.
References com.cliffc.aa.util.IBitSet._bits, com.cliffc.aa.util.IBitSet._sign, and com.cliffc.aa.util.AryInt.atX().
Referenced by com.cliffc.aa.util.IBitSet.subsetsX().
Definition at line 12 of file IBitSet.java.
Referenced by com.cliffc.aa.util.IBitSet._clr(), com.cliffc.aa.util.IBitSet._set(), com.cliffc.aa.util.IBitSet._tst(), com.cliffc.aa.util.IBitSet.bitCount(), com.cliffc.aa.util.IBitSet.clear(), com.cliffc.aa.util.IBitSet.disjoint(), com.cliffc.aa.util.IBitSet.Iter.hasNext(), com.cliffc.aa.util.IBitSet.is_empty(), com.cliffc.aa.util.IBitSet.max(), com.cliffc.aa.util.IBitSet.Iter.next(), com.cliffc.aa.util.IBitSet.or(), com.cliffc.aa.util.IBitSet.subsetsX(), com.cliffc.aa.util.IBitSet.subtract(), com.cliffc.aa.util.IBitSet.toString(), com.cliffc.aa.util.IBitSet.wd(), and com.cliffc.aa.util.IBitSet.xd().
|
private |
Definition at line 11 of file IBitSet.java.
Referenced by com.cliffc.aa.util.IBitSet.bitCount(), com.cliffc.aa.util.IBitSet.clear(), com.cliffc.aa.util.IBitSet.clr(), com.cliffc.aa.util.IBitSet.disjoint(), com.cliffc.aa.util.IBitSet.flip(), com.cliffc.aa.util.IBitSet.is_empty(), com.cliffc.aa.util.IBitSet.max(), com.cliffc.aa.util.IBitSet.or(), com.cliffc.aa.util.IBitSet.set(), com.cliffc.aa.util.IBitSet.toString(), com.cliffc.aa.util.IBitSet.tst(), and com.cliffc.aa.util.IBitSet.xd().
Definition at line 15 of file IBitSet.java.
Definition at line 16 of file IBitSet.java.