public T ceiling(T T) {
      if (T == null) {
         return null;
      }
      NodeIterator<T> iterator = new NodeIterator<>(root, T.end(), Integer.MAX_VALUE, true);
      if (iterator.hasNext()) {
         return iterator.next();
      }
      return null;
   }
public T ceiling ( T T ) { if ( T == null ) { return null ; } NodeIterator < T > iterator = new NodeIterator < > ( root , T . end ( ) , Integer . MAX_VALUE , true ) ; if ( iterator . hasNext ( ) ) { return iterator . next ( ) ; } return null ; }
Ceiling T.

@param T the T
@return the T