groovyx.gpars.dataflow.stream
Interface FList<T>
- Type Parameters:
T
- The type of values to store in the list
- All Superinterfaces:
- java.lang.Iterable<T>
- All Known Implementing Classes:
- DataflowStream, StreamCore, SyncDataflowStream
public interface FList<T>
- extends java.lang.Iterable<T>
Represents a list implemented as a Functional Queue.
Methods inherited from interface java.lang.Iterable |
iterator |
getFirst
T getFirst()
getRest
FList<T> getRest()
isEmpty
boolean isEmpty()
filter
FList<T> filter(groovy.lang.Closure filterClosure)
map
FList<java.lang.Object> map(groovy.lang.Closure mapClosure)
reduce
java.lang.Object reduce(groovy.lang.Closure reduceClosure)
reduce
java.lang.Object reduce(T seed,
groovy.lang.Closure reduceClosure)
appendingString
java.lang.String appendingString()