public abstract class MultipleOutputs<T>
extends java.lang.Object
| Constructor and Description |
|---|
MultipleOutputs() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(T output) |
T |
get(int index)
Get result item with index.
|
java.util.Vector<T> |
getAll()
Get all result items.
|
abstract void |
handle(T result)
Callback method.
|
int |
size()
Get number of result items.
|
java.lang.Object[] |
toArray()
Get result items.
|
T[] |
toArray(T[] a)
Get result items.
|
java.lang.String |
toString() |
public java.util.Vector<T> outputs
public void add(T output)
public abstract void handle(T result)
result - Result from a single jobpublic java.util.Vector<T> getAll()
public T get(int index)
index - public int size()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Object[] toArray()