org.universAAL.middleware.util
Class GraphIterator.GraphIteratorResources

Package class diagram package GraphIterator.GraphIteratorResources
java.lang.Object
  extended by org.universAAL.middleware.util.GraphIterator
      extended by org.universAAL.middleware.util.GraphIterator.GraphIteratorResources
All Implemented Interfaces:
Iterator
Enclosing class:
GraphIterator

protected static class GraphIterator.GraphIteratorResources
extends GraphIterator

A specialized iterator to iterate only over instances of Resource .


Nested Class Summary
 
Nested classes/interfaces inherited from class org.universAAL.middleware.util.GraphIterator
GraphIterator.GraphIteratorResources, GraphIterator.StackElement
 
Field Summary
 
Fields inherited from class org.universAAL.middleware.util.GraphIterator
nextElement, se, stack, visitedResources
 
Method Summary
protected  void createNext()
           
 boolean hasNext()
           
 Object next()
           
 
Methods inherited from class org.universAAL.middleware.util.GraphIterator
createResult, getIterator, getPropertyEnumeration, getResourceIterator, remove, stepDeeper, stepHigher
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createNext

protected void createNext()
Overrides:
createNext in class GraphIterator

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator
Overrides:
hasNext in class GraphIterator
See Also:
Iterator.hasNext()

next

public Object next()
Specified by:
next in interface Iterator
Overrides:
next in class GraphIterator
Returns:
the next element of the iterator. The type of the return value depends on the type of the iterator.
See Also:
Iterator.next()


Copyright © 2014 universAAL Consortium. All Rights Reserved.