类 FilterIterator<T>

    • 构造器详细资料

      • FilterIterator

        public FilterIterator​(@NotNull
                              Iterator<T> parent,
                              @NotNull
                              Predicate<T> filter)
    • 方法详细资料

      • hasNext

        public boolean hasNext()
        指定者:
        hasNext 在接口中 Iterator<T>
      • remove

        public void remove()
        指定者:
        remove 在接口中 Iterator<T>
      • forEachRemaining

        public void forEachRemaining​(Consumer<? super T> action)
        For-each action.
        指定者:
        forEachRemaining 在接口中 Iterator<T>
        参数:
        action - The action of for-each