public class FilterArcIterator<E,V> extends Object implements ArcIterator<E,V>
Constructor and Description |
---|
FilterArcIterator(ArcIterator<E,V> iterator,
org.apache.commons.collections.Predicate acceptOrigin,
org.apache.commons.collections.Predicate acceptDestination,
org.apache.commons.collections.Predicate acceptArc) |
Modifier and Type | Method and Description |
---|---|
E |
getDestination() |
E |
getOrigin() |
boolean |
hasNext() |
V |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public FilterArcIterator(ArcIterator<E,V> iterator, org.apache.commons.collections.Predicate acceptOrigin, org.apache.commons.collections.Predicate acceptDestination, org.apache.commons.collections.Predicate acceptArc)
public E getOrigin()
getOrigin
in interface ArcIterator<E,V>
public E getDestination()
getDestination
in interface ArcIterator<E,V>
Copyright © 2001–2023 Apache Cayenne. All rights reserved.