de.grogra.xl.lang
public interface ObjectToInt<K>
ObjectToInt represent functions
which take Ks as input and return values of
type int. Such instances are created by
lambda expressions of the XL programming language, e.g.,
ObjectToInt f = K x => int
some expression containing x;.| Modifier and Type | Method and Description |
|---|---|
int |
evaluateInt(K x)
Computes the value of this function at
x. |
int evaluateInt(K x)
x.x - where the function is to be evaluatedx