T - public abstract class ModelIteratorAdapter<T> extends Object implements Iterator<IModel<T>>
RefreshingView.| Constructor and Description |
|---|
ModelIteratorAdapter(Iterable<T> iterable)
Constructor
|
ModelIteratorAdapter(Iterator<T> delegate)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
protected abstract IModel<T> |
model(T object)
This method is used to wrap the provided object with an implementation of IModel.
|
IModel<T> |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic 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–2018 Apache Software Foundation. All rights reserved.