| Modifier and Type | Field and Description |
|---|---|
protected T |
current
Текущий элемент
|
protected boolean |
hasNext
Есть еще?
|
protected Iterator<T> |
iterator
Итератор
|
protected Predicate<T> |
predicate
Предикат
|
| Constructor and Description |
|---|
PredicateIterator(Predicate<T> predicate,
Iterator<T> iterator)
Конструктор
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
findNext()
Поиск следующего элемента
|
boolean |
hasNext()
Есть элементы?
|
T |
next()
Получить элемент и перейти к следующему
|
void |
remove()
Удалить проччитанный из коллекции (Не поддерживаеться)
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprotected T current
protected boolean hasNext
protected void findNext()
public boolean hasNext()
public T next()
Copyright © 2017. All rights reserved.