Code example for TreeSet

Methods: iterator

0
        return items.pollLast();
    } 
 
    @Override 
    public Iterator<T> iterator() {
        return items.iterator();
    } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE