Lines Matching refs:BitSet
44 * A stripped-down version of org.antlr.misc.BitSet that is just
50 public sealed class BitSet : ICloneable
67 /** <summary>Construct a bitset of size one word (64 bits)</summary> */
68 public BitSet()
75 public BitSet( ulong[] bits )
81 public BitSet( IEnumerable<int> items )
88 /** <summary>Construct a bitset given the size</summary>
89 * <param name="nbits">The size of the bitset in bits</param>
91 public BitSet( int nbits )
96 public static BitSet Of( int el )
98 BitSet s = new BitSet( el + 1 );
103 public static BitSet Of( int a, int b )
105 BitSet s = new BitSet( Math.Max( a, b ) + 1 );
111 public static BitSet Of( int a, int b, int c )
113 BitSet s = new BitSet();
120 public static BitSet Of( int a, int b, int c, int d )
122 BitSet s = new BitSet();
131 public BitSet Or( BitSet a )
137 BitSet s = (BitSet)this.Clone();
162 public void OrInPlace( BitSet a )
196 return new BitSet( (ulong[])_bits.Clone() );
226 if ( other == null || !( other is BitSet ) )
231 BitSet otherSet = (BitSet)other;
320 public boolean subset(BitSet a) {
321 if (a == null || !(a instanceof BitSet)) return false;