edu.rice.cs.plt.lambda
Interface Lambda<T,R>

Type Parameters:
T - the argument type
R - the return type
All Known Subinterfaces:
FunctionalRelation<T1,T2>, LambdaMap<K,V>, LambdaUtil.GeneralLambda<R>, LambdaUtil.LiftedLambda<T,R>, OneToOneRelation<T1,T2>
All Known Implementing Classes:
AbstractFunctionalRelation, AbstractInjectiveRelation.InverseInjectiveRelation, AbstractKeyBasedMap, AbstractOneToOneRelation, AbstractOneToOneRelation.InverseOneToOneRelation, ComposedMap, ConsVisitor, DelegatingMap, DictionaryMap, EmptyMap, EmptyRelation, ImmutableMap, IndexedFunctionalRelation, IndexedOneToOneRelation, MappedMap, SingletonMap, SingletonRelation, UnionMap

public interface Lambda<T,R>

An arbitrary piece of code parameterized by an argument.

See Also:
Thunk, Lambda2, Lambda3, Lambda4, Runnable1

Method Summary
 R value(T arg)
           
 

Method Detail

value

R value(T arg)