org.codehaus.gpars

groovyx.gpars.dataflow.stream
[Java] Interface FList


public interface FList
extends java.lang.Iterable

Represents a list implemented as a Functional Queue.

Parameters:
- The type of values to store in the list


Method Summary
java.lang.String appendingString()

FList filter(groovy.lang.Closure filterClosure)

java.lang.Object getFirst()

FList getRest()

boolean isEmpty()

FList map(groovy.lang.Closure mapClosure)

java.lang.Object reduce(groovy.lang.Closure reduceClosure)

java.lang.Object reduce(java.lang.Object seed, groovy.lang.Closure reduceClosure)

 
Methods inherited from interface java.lang.Iterable
java.lang.Iterable#iterator()
 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Method Detail

appendingString

public java.lang.String appendingString()


filter

public FList filter(groovy.lang.Closure filterClosure)


getFirst

public java.lang.Object getFirst()


getRest

public FList getRest()


isEmpty

public boolean isEmpty()


map

public FList map(groovy.lang.Closure mapClosure)


reduce

public java.lang.Object reduce(groovy.lang.Closure reduceClosure)


reduce

public java.lang.Object reduce(java.lang.Object seed, groovy.lang.Closure reduceClosure)


 

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