Package 

Class IteratorExtensions

    • Method Summary

      Modifier and Type Method Description
      final static <T extends Any> T next(Iterator<T> $self, Function2<T, T, Boolean> predicate) 遍历迭代器中的元素到指定条件处,或者返回null。
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • next

         final static <T extends Any> T next(Iterator<T> $self, Function2<T, T, Boolean> predicate)

        遍历迭代器中的元素到指定条件处,或者返回null。