T
- public class FilterIterator<T> extends Object implements Iterator<T>
Constructor and Description |
---|
FilterIterator(Iterator<T> iterator,
Predicate predicate)
Create a new filtered iterator based on the given
iterator . |
public void remove()
remove
in interface Iterator<T>
UnsupportedOperationException
- alwaysIterator.remove()
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.