T - type of elementspublic static interface AsynchCollection.OneByOne<T>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
AsynchCollection.OneByOne.Refreshable<T>
A refreshable collection is a collection that can be restarted, with new elements coming and replacing the previous ones.
|
| Modifier and Type | Method and Description |
|---|---|
void |
done()
Called when no more element will come.
|
void |
newElement(T element)
Called when a new element is ready.
|
void newElement(T element)
void done()
Copyright © 2017. All rights reserved.