org.eobjects.metamodel.util
Interface Func<I,O>
- Type Parameters:
I - the input typeO - the output type
- All Known Subinterfaces:
- Predicate<E>
- All Known Implementing Classes:
- ConstantFunc, ExclusionPredicate, FalsePredicate, HasNameMapper, InclusionPredicate, TruePredicate
public interface Func<I,O>
Represents an abstract function, which is an executable piece of
functionality that has an input and an output. A Func has a return
type, unlike an Action.
- Author:
- Kasper Sørensen
|
Method Summary |
O |
eval(I arg)
Evaluates an element and transforms it using this function. |
eval
O eval(I arg)
- Evaluates an element and transforms it using this function.
- Parameters:
arg - the input given to the function
- Returns:
- the output result of the function
Copyright © 2007-2013. All Rights Reserved.