diff --git a/src/main/java/org/apache/commons/collections4/iterators/FilterIterator.java b/src/main/java/org/apache/commons/collections4/iterators/FilterIterator.java index b7a67da4f..c616194c4 100644 --- a/src/main/java/org/apache/commons/collections4/iterators/FilterIterator.java +++ b/src/main/java/org/apache/commons/collections4/iterators/FilterIterator.java @@ -35,10 +35,13 @@ public class FilterIterator implements Iterator { /** The iterator being used */ private Iterator iterator; + /** The predicate being used */ private Predicate predicate; + /** The next object in the iteration */ private E nextObject; + /** Whether the next object has been calculated yet */ private boolean nextObjectSet;