ini.trakem2.display
Class Node.FilteredIterator<I>

java.lang.Object
  extended by ini.trakem2.display.Node.NodeIterator<I>
      extended by ini.trakem2.display.Node.SubtreeIterator<I>
          extended by ini.trakem2.display.Node.FilteredIterator<I>
All Implemented Interfaces:
java.util.Iterator<Node<I>>
Direct Known Subclasses:
Node.BranchAndEndNodeIterator, Node.BranchNodeIterator, Node.EndNodeIterator
Enclosing class:
Node<T>

public abstract static class Node.FilteredIterator<I>
extends Node.SubtreeIterator<I>


Constructor Summary
Node.FilteredIterator(Node<I> first)
           
 
Method Summary
abstract  boolean accept(Node<I> node)
           
 boolean hasNext()
           
 Node<I> next()
           
 
Methods inherited from class ini.trakem2.display.Node.NodeIterator
remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Node.FilteredIterator

public Node.FilteredIterator(Node<I> first)
Method Detail

accept

public abstract boolean accept(Node<I> node)

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<Node<I>>
Overrides:
hasNext in class Node.SubtreeIterator<I>

next

public Node<I> next()