Code example for NavigableSet

Methods: lower

0
  @Override 
  protected abstract NavigableSet<E> delegate();
 
  @Override 
  public E lower(E e) {
    return delegate().lower(e);
  } 
 
  /** 
   * A sensible definition of {@link #lower} in terms of the {@code descendingIterator} method of 
   * {@link #headSet(Object, boolean)}. If you override {@link #headSet(Object, boolean)}, you may 
   * wish to override {@link #lower} to forward to this implementation. 
   */ 
  protected E standardLower(E e) {
    return Iterators.getNext(headSet(e, false).descendingIterator(), null);
  } 
 
  @Override 
  public E floor(E e) {
    return delegate().floor(e);
Connect your IDE to all the code out there  Get Codota for Java