Code example for NavigableSet

Methods: pollLast

0
    return Iterators.pollNext(iterator());
  } 
 
  @Override 
  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 Iterators.pollNext(descendingIterator()); 
  } 
 
  protected E standardFirst() { 
    return iterator().next();
  } 
Experience pair programming with AI  Get Codota for Java