ColtHashSet extends AbstractSet<Long> implements SnapshotableSet<Long> { @Override public synchronized int size() { return map.size(); } ColtHashSet(int initialCapacity, double minLoadFactor, double maxLoadFactor);  ColtHashSet(int initialCapacity); @Override synchronized boolean add(Long aLong); @Override Iterator<Long> iterator(); @Override synchronized int size(); @Override SnapshotableSet<Long> makeSnapshot(); @Override SnapshotableSet<Long> makeTransientSnapshot();  }
@Test(groups = "fast") public void testResize() throws Exception { fillSet(); Assert.assertEquals(set.size(), numElements); }