Code example for NavigableSet

Methods: descendingIterator

0
    } 
  } 
 
  @Override 
  public Iterator<E> descendingIterator() {
    return delegate().descendingIterator();
  } 
 
  @Override 
  public NavigableSet<E> subSet(
      E fromElement,
      boolean fromInclusive,
      E toElement,
      boolean toInclusive) {
    return delegate().subSet(fromElement, fromInclusive, toElement, toInclusive);
  } 
 
  /** 
   * A sensible definition of {@link #subSet(Object, boolean, Object, boolean)} in terms of the 
   * {@code headSet} and {@code tailSet} methods. In many cases, you may wish to override 
Experience pair programming with AI  Get Codota for Java