@Test public void testGet() { BitSet bset = new BitSet(); bset.set(100); ImmutableBitSet ibset = new ImmutableBitSet(bset); for (int i = 90; i < 110; i++) { assertEquals(bset.get(i), ibset.get(i)); } }
@SuppressWarnings("BooleanMethodNameMustStartWithQuestion") public boolean get(int i) { return this.bitSet.get(i); }
ImmutableBitSet { @SuppressWarnings("BooleanMethodNameMustStartWithQuestion") public boolean get(int i) { return this.bitSet.get(i); } }
ImmutableBitSet { @SuppressWarnings("BooleanMethodNameMustStartWithQuestion") public boolean get(int i) { return this.bitSet.get(i); } ImmutableBitSet(BitSet origBitSet); }
ImmutableBitSet { @SuppressWarnings("BooleanMethodNameMustStartWithQuestion") public boolean get(int i) { return this.bitSet.get(i); } ImmutableBitSet(BitSet origBitSet); @SuppressWarnings("BooleanMethodNameMustStartWithQuestion") boolean get(int i); int length(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); }
ImmutableBitSet { @SuppressWarnings("BooleanMethodNameMustStartWithQuestion") public boolean get(int i) { return this.bitSet.get(i); } ImmutableBitSet(BitSet origBitSet); @SuppressWarnings("BooleanMethodNameMustStartWithQuestion") boolean get(int i); int length(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }