org.apache.cayenne.ashwood.graph
Class FilterArcIterator<E,V>
java.lang.Object
org.apache.cayenne.ashwood.graph.FilterArcIterator<E,V>
- All Implemented Interfaces:
- Iterator<V>, ArcIterator<E,V>
public class FilterArcIterator<E,V>
- extends Object
- implements ArcIterator<E,V>
- Since:
- 3.1
Constructor Summary |
FilterArcIterator(ArcIterator<E,V> iterator,
org.apache.commons.collections.Predicate acceptOrigin,
org.apache.commons.collections.Predicate acceptDestination,
org.apache.commons.collections.Predicate acceptArc)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilterArcIterator
public FilterArcIterator(ArcIterator<E,V> iterator,
org.apache.commons.collections.Predicate acceptOrigin,
org.apache.commons.collections.Predicate acceptDestination,
org.apache.commons.collections.Predicate acceptArc)
getOrigin
public E getOrigin()
- Specified by:
getOrigin
in interface ArcIterator<E,V>
getDestination
public E getDestination()
- Specified by:
getDestination
in interface ArcIterator<E,V>
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<V>
next
public V next()
- Specified by:
next
in interface Iterator<V>
remove
public void remove()
- Specified by:
remove
in interface Iterator<V>
Copyright © 2001-2012 Apache Cayenne. All Rights Reserved.