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

  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`

- ## Constructor Details

  - ### FilterArcIterator

    public FilterArcIterator(ArcIterator<E,V> iterator, Predicate<E> acceptOrigin, Predicate<E> acceptDestination, Predicate<V> acceptArc)

- ## Method Details

  - ### 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<E>`

  - ### next

    public V next()
    Specified by:
      `next` in interface `Iterator<E>`

  - ### remove

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