ome.services.delete
Class BaseDeleteSpec.SubSpecIterator

java.lang.Object
  extended by ome.services.delete.BaseDeleteSpec.SubSpecIterator
All Implemented Interfaces:
Iterator<DeleteSpec>
Enclosing class:
BaseDeleteSpec

public static class BaseDeleteSpec.SubSpecIterator
extends Object
implements Iterator<DeleteSpec>

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


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

Constructor Detail

BaseDeleteSpec.SubSpecIterator

public BaseDeleteSpec.SubSpecIterator(DeleteSpec spec)
Method Detail

hasNext

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

next

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

remove

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


OmeroJava Api

Version: Beta4.2.1-r8614-Beta4.2-b41

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