ome.services.graphs
Class BaseGraphSpec.SubSpecIterator

java.lang.Object
  extended by ome.services.graphs.BaseGraphSpec.SubSpecIterator
All Implemented Interfaces:
Iterator<GraphSpec>
Enclosing class:
BaseGraphSpec

public static class BaseGraphSpec.SubSpecIterator
extends Object
implements Iterator<GraphSpec>

Iterator which walks returns all GraphSpecs which are reachable from the given spec, depth first including the spec itself. A GraphSpec is "reachable" if it is the subspec of a GraphEntry for a spec.


Constructor Summary
BaseGraphSpec.SubSpecIterator(GraphSpec spec)
           
 
Method Summary
 boolean hasNext()
           
 GraphSpec next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseGraphSpec.SubSpecIterator

public BaseGraphSpec.SubSpecIterator(GraphSpec spec)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<GraphSpec>

next

public GraphSpec next()
Specified by:
next in interface Iterator<GraphSpec>

remove

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


OmeroJava Api

Version: 4.3.4-dbcbce5a-b4

Copyright © 2009 The University of Dundee. All Rights Reserved.