org.modeshape.graph.property.basic
Class AbstractValueFactory.ConvertingIterator<ValueType>

java.lang.Object
  extended by org.modeshape.graph.property.basic.AbstractValueFactory.ConvertingIterator<ValueType>
All Implemented Interfaces:
Iterator<ValueType>
Enclosing class:
AbstractValueFactory<T>

protected static class AbstractValueFactory.ConvertingIterator<ValueType>
extends Object
implements Iterator<ValueType>


Constructor Summary
protected AbstractValueFactory.ConvertingIterator(Iterator<?> delegate, ValueFactory<ValueType> factory)
           
 
Method Summary
 boolean hasNext()
          
 ValueType next()
          
 void remove()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractValueFactory.ConvertingIterator

protected AbstractValueFactory.ConvertingIterator(Iterator<?> delegate,
                                                  ValueFactory<ValueType> factory)
Method Detail

hasNext

public boolean hasNext()

Specified by:
hasNext in interface Iterator<ValueType>
See Also:
Iterator.hasNext()

next

public ValueType next()

Specified by:
next in interface Iterator<ValueType>
See Also:
Iterator.next()

remove

public void remove()

Specified by:
remove in interface Iterator<ValueType>
See Also:
Iterator.remove()


Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.