Code example for NavigableSet

Methods: pollLast

    return poll(iterator());
  public E pollLast() { 
    return delegate().pollLast();
   * A sensible definition of {@link #pollLast} in terms of the {@code descendingIterator} method. 
   * If you override {@link #descendingIterator} you may wish to override {@link #pollLast} to 
   * forward to this implementation. 
  protected E standardPollLast() { 
    return poll(delegate().descendingIterator());
  protected E standardFirst() { 
    return iterator().next();
Contextual code suggestions in your IDE  Get Codota for Java