@Test void clear() { List<String> contents = Arrays.asList("test1", "test2", "test3"); hugeSet.addAll(contents); hugeSet.clear(); assertTrue(hugeSet.isEmpty()); }
@Override public void clear() { if (set == null) { hashSet.clear(); } else { set.clear(); } }
HugeSet implements Set<E>, Closeable { @Override public void clear() { if (set == null) { hashSet.clear(); } else { set.clear(); } } }
HugeSet implements Set<E>, Closeable { @Override public void clear() { if (set == null) { hashSet.clear(); } else { set.clear(); } }  }
HugeSet implements Set<E>, Closeable { @Override public void clear() { if (set == null) { hashSet.clear(); } else { set.clear(); } }  @Override int size(); @Override boolean isEmpty(); @Override boolean contains(Object o); @Override Iterator<E> iterator(); @Override Object[] toArray(); @Override T[] toArray(T[] a); @Override boolean add(E obj); @Override boolean remove(Object o); @Override boolean containsAll(Collection<?> c); @Override boolean addAll(Collection<? extends E> c); @Override boolean retainAll(Collection<?> c); @Override boolean removeAll(Collection<?> c); @Override void clear(); @Override void close(); }
HugeSet implements Set<E>, Closeable { @Override public void clear() { if (set == null) { hashSet.clear(); } else { set.clear(); } }  @Override int size(); @Override boolean isEmpty(); @Override boolean contains(Object o); @Override Iterator<E> iterator(); @Override Object[] toArray(); @Override T[] toArray(T[] a); @Override boolean add(E obj); @Override boolean remove(Object o); @Override boolean containsAll(Collection<?> c); @Override boolean addAll(Collection<? extends E> c); @Override boolean retainAll(Collection<?> c); @Override boolean removeAll(Collection<?> c); @Override void clear(); @Override void close();  }