# Class ReversedIteration.ReversedArcIterator<S,T>

java.lang.Object
org.apache.cayenne.ashwood.graph.ReversedIteration.ReversedArcIterator<S,T>

All Implemented Interfaces:
  `Iterator<T>, ArcIterator<S,T>`

Enclosing class:
  `ReversedIteration<E,V>`

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

Since:
  3.1

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ReversedArcIterator(ArcIterator<S,T> wrappedIterator)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `S`
  `getDestination()`
  `S`
  `getOrigin()`
  `boolean`
  `hasNext()`
  `T`
  `next()`
  `void`
  `remove()`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface Iterator

  `forEachRemaining`

- ## Constructor Details

  - ### ReversedArcIterator

    public ReversedArcIterator(ArcIterator<S,T> wrappedIterator)

- ## Method Details

  - ### 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 `Iterator<S>`

  - ### next

    public T next()
    Specified by:
      `next` in interface `Iterator<S>`

  - ### remove

    public void remove()
    Specified by:
      `remove` in interface `Iterator<S>`