Searched refs:bitSet (Results 1 – 3 of 3) sorted by relevance
233 BitSet bitSet = BitSet.valueOf(bytes); in testRandomStream() local234 testBitSetContents(bitSet, bitSet.stream().toArray()); in testRandomStream()235 testBitSetContents(bitSet, bitSet.stream().parallel().toArray()); in testRandomStream()239 void testBitSetContents(BitSet bitSet, int[] array) { in testBitSetContents() argument240 int cardinality = bitSet.cardinality(); in testBitSetContents()244 nextSetBit = bitSet.nextSetBit(nextSetBit + 1); in testBitSetContents()
54 boolean isSet(int bitSet) { in isSet() argument55 return (bitSet & (1 << bit)) == value; in isSet()58 static int bitSet(MemoryMode... modes) { in bitSet() method in VarHandleBaseByteArrayTest.MemoryMode68 static EnumSet<MemoryMode> enumSet(int bitSet) { in enumSet() argument71 if (m.isSet(bitSet)) { in enumSet()85 memoryModes = MemoryMode.bitSet(modes); in Source()
45 BitSet bitSet = new BitSet(); in test_toString_highestPossibleBitSet() local46 bitSet.set(Integer.MAX_VALUE); in test_toString_highestPossibleBitSet()47 assertEquals("{2147483647}", bitSet.toString()); in test_toString_highestPossibleBitSet()