Lines Matching refs:BitSet
32 /**A stripped-down version of org.antlr.misc.BitSet that is just
36 public class BitSet implements Cloneable {
51 public BitSet() {
56 public BitSet(long[] bits_) {
61 public BitSet(List items) {
72 public BitSet(int nbits) {
76 public static BitSet of(int el) {
77 BitSet s = new BitSet(el + 1);
82 public static BitSet of(int a, int b) {
83 BitSet s = new BitSet(Math.max(a,b)+1);
89 public static BitSet of(int a, int b, int c) {
90 BitSet s = new BitSet();
97 public static BitSet of(int a, int b, int c, int d) {
98 BitSet s = new BitSet();
107 public BitSet or(BitSet a) {
111 BitSet s = (BitSet)this.clone();
136 public void orInPlace(BitSet a) {
167 BitSet s;
169 s = (BitSet)super.clone();
195 if ( other == null || !(other instanceof BitSet) ) {
199 BitSet otherSet = (BitSet)other;
271 public boolean subset(BitSet a) {
272 if (a == null || !(a instanceof BitSet)) return false;