Package 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
Constructors Constructor Description FilterArcIterator(ArcIterator<E,V> iterator, Predicate<E> acceptOrigin, Predicate<E> acceptDestination, Predicate<V> acceptArc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description E
getDestination()
E
getOrigin()
boolean
hasNext()
V
next()
void
remove()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Method Detail
-
getOrigin
public E getOrigin()
- Specified by:
getOrigin
in interfaceArcIterator<E,V>
-
getDestination
public E getDestination()
- Specified by:
getDestination
in interfaceArcIterator<E,V>
-
-