Skip to end of metadata
Go to start of metadata

MVEL allows the definition of lambda functions.

Example

A simple lambda expression

The above example defines a lambda and assigns it to the variable "threshold". Lambda's are essentially functions that are assignable to variables. They are essentially closures and can be used as such.

See Also

Labels
  • None