@Test public void testEmpty() { for(int i : TEST_BOUNDS) { BoundedSet<String> bs = new BoundedSetFactory<String>(i).empty(); assert(bs.getSize() == 0); assert(bs.getSet().size() == 0); } }
public BoundedSet<V> empty() { return new BoundedSetImpl(); }
BoundedSetFactory { public BoundedSet<V> empty() { return new BoundedSetImpl(); } }
BoundedSetFactory { public BoundedSet<V> empty() { return new BoundedSetImpl(); } BoundedSetFactory(int limit); }
BoundedSetFactory { public BoundedSet<V> empty() { return new BoundedSetImpl(); } BoundedSetFactory(int limit); BoundedSet<V> empty(); BoundedSet<V> singleton(V el); BoundedSet<V> top(); }
BoundedSetFactory { public BoundedSet<V> empty() { return new BoundedSetImpl(); } BoundedSetFactory(int limit); BoundedSet<V> empty(); BoundedSet<V> singleton(V el); BoundedSet<V> top();  }