public class CollectionSource<T> extends java.lang.Object implements SourceFunc<T>
Constructor and Description |
---|
CollectionSource(java.util.Collection<T> col) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Weather we have more data
|
T |
next()
Get the next value
|
void |
prepare(TSetContext context)
Prepare the function.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
public CollectionSource(java.util.Collection<T> col)
public boolean hasNext()
SourceFunc
hasNext
in interface SourceFunc<T>
public T next()
SourceFunc
next
in interface SourceFunc<T>