Code example for NavigableSet

Methods: ceiling

0
    return Iterators.getNext(headSet(e, true).descendingIterator(), null);
  } 
 
  @Override 
  public E ceiling(E e) {
    return delegate().ceiling(e);
  } 
 
  /** 
   * A sensible definition of {@link #ceiling} in terms of the {@code iterator} method of 
   * {@link #tailSet(Object, boolean)}. If you override {@link #tailSet(Object, boolean)}, you may 
   * wish to override {@link #ceiling} to forward to this implementation. 
   */ 
  protected E standardCeiling(E e) {
    return Iterators.getNext(tailSet(e, true).iterator(), null);
  } 
 
  @Override 
  public E higher(E e) {
    return delegate().higher(e);
Contextual code suggestions in your IDE  Get Codota for Java