LongBitMask extends SingleLongBitMask implements BitMask { @Override public boolean isAllSet() { return mask == -1L; } LongBitMask();  LongBitMask(long mask); @Override BitMask set(int index); @Override BitMask setAll(BitMask mask); @Override BitMask reset(int index); @Override BitMask resetAll(BitMask mask); @Override boolean isSet(int index); @Override boolean isAllSet(); @Override boolean isEmpty(); @Override boolean intersects(BitMask mask); long asLong(); @Override LongBitMask clone(); @Override String getInstancingStatement();  }
@Test public void testIsAllSet() { Assert.assertFalse(new LongBitMask().isAllSet()); Assert.assertTrue(new LongBitMask(-1L).isAllSet()); }