### Question:
SimpleBitSet extends StampedLock { public void put( int key ) { long stamp = writeLock(); int idx = key >>> 6; ensureCapacity( idx ); data[idx] = data[idx] | (1L << (key & 63)); unlockWrite( stamp ); } SimpleBitSet( int size ); boolean contains( int key ); void put( int key ); void put( SimpleBitSet other ); void remove( int key ); void remove( SimpleBitSet other ); long checkPointAndPut( long checkPoint, int key ); int size(); IntIterator iterator();  }### Answer:
@Test public void put() { SimpleBitSet set = new SimpleBitSet( 16 ); set.put( 2 ); set.put( 7 ); set.put( 15 ); assertFalse( set.contains( 1 ) ); assertFalse( set.contains( 6 ) ); assertFalse( set.contains( 14 ) ); assertTrue( set.contains( 2 ) ); assertTrue( set.contains( 7 ) ); assertTrue( set.contains( 15 ) ); }