Constructor and Description |
---|
ModelIteratorAdapter(Iterable<T> iterable)
Constructor
|
ModelIteratorAdapter(Iterator<T> delegate)
Constructor
|
public ModelIteratorAdapter(Iterable<T> iterable)
iterable
- iterable whose iterator will be wrappedpublic boolean hasNext()
hasNext
in interface Iterator<IModel<T>>
Iterator.hasNext()
public IModel<T> next()
next
in interface Iterator<IModel<T>>
Iterator.next()
public void remove()
remove
in interface Iterator<IModel<T>>
Iterator.remove()
Copyright © 2006–2014 Apache Software Foundation. All rights reserved.