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.


Method Summary
 java.lang.String appendingString()
           
 FList<T> filter(groovy.lang.Closure filterClosure)
           
 T getFirst()
           
 FList<T> getRest()
           
 boolean isEmpty()
           
 FList<java.lang.Object> map(groovy.lang.Closure mapClosure)
           
 java.lang.Object reduce(groovy.lang.Closure reduceClosure)
           
 java.lang.Object reduce(T seed, groovy.lang.Closure reduceClosure)
           
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

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()

Copyright © 2008–2012 Václav Pech. All Rights Reserved.