### Question:
LongSet implements Serializable, Cloneable, Iterable<Long> { public void rehash() { rehash(RandomUtils.nextTwinPrime((int) (LOAD_FACTOR * numEntries) + 1)); } LongSet();  LongSet(int initialCapacity); int size(); boolean isEmpty(); boolean contains(long key); boolean add(long key); @Override LongPrimitiveIterator iterator(); long[] toArray(); boolean remove(long key); boolean addAll(long[] keys); boolean addAll(LongSet keys); void clear(); void rehash(); int intersectionSize(LongSet other); @Override LongSet clone(); @Override int hashCode(); @Override boolean equals(Object other); @Override String toString();  }### Answer:
@Test public void testRehash() { LongSet set = buildTestFastSet(); set.remove(1); set.rehash(); assertFalse(set.contains(1)); }