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 and Description
    `FilterArcIterator(ArcIterator<E,V> iterator, org.apache.commons.collections.Predicate acceptOrigin, org.apache.commons.collections.Predicate acceptDestination, org.apache.commons.collections.Predicate acceptArc)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 Detail

    - #### 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)

  - ### Method Detail

    - #### 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–2018 Apache Cayenne. All rights reserved.