Code example for TreeSet

Methods: clear

0
    public boolean remove(Fixture o) { 
        return fixtures.remove(o); 
    } 
 
    public void clear() { 
        fixtures.clear(); 
    } 
 
    public boolean addAll(Collection<? extends Fixture> fixtures) { 
        return this.fixtures.addAll(fixtures); 
    } 
 
    @Override 
    public Iterator<Fixture> iterator() { 
        return Iterators.unmodifiableIterator(fixtures.iterator()); 
    } 
}