org.apache.cayenne.ashwood.graph
Class ReversedIteration.ReversedArcIterator<S,T>

java.lang.Object
  extended by org.apache.cayenne.ashwood.graph.ReversedIteration.ReversedArcIterator<S,T>
All Implemented Interfaces:
java.util.Iterator<T>, ArcIterator<S,T>
Enclosing class:
ReversedIteration<E,V>

public static class ReversedIteration.ReversedArcIterator<S,T>
extends java.lang.Object
implements ArcIterator<S,T>


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.cayenne.ashwood.graph.ArcIterator
ArcIterator.EmptyIterator<E,V>
 
Field Summary
 
Fields inherited from interface org.apache.cayenne.ashwood.graph.ArcIterator
EMPTY_ITERATOR
 
Constructor Summary
ReversedIteration.ReversedArcIterator(ArcIterator<S,T> wrappedIterator)
           
 
Method Summary
 S getDestination()
           
 S getOrigin()
           
 boolean hasNext()
           
 T next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReversedIteration.ReversedArcIterator

public ReversedIteration.ReversedArcIterator(ArcIterator<S,T> wrappedIterator)
Method Detail

getOrigin

public S getOrigin()
Specified by:
getOrigin in interface ArcIterator<S,T>

getDestination

public S getDestination()
Specified by:
getDestination in interface ArcIterator<S,T>

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<T>

next

public T next()
Specified by:
next in interface java.util.Iterator<T>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<T>


Copyright © 2001-2012 Apache Cayenne. All Rights Reserved.