See: Description
Package | Description |
---|---|
com.trigersoft.jaque |
Classes to support functional-style operations on streams of remote elements (rows in SQL table, mapped with JPA),
such as map-reduce transformations on collections.
|
com.trigersoft.jaque.expression |
Contains classes, interfaces and enumerations that enable language-level code expressions to be represented as objects in the form of expression trees.
|
com.trigersoft.jaque.function |
Contains classes, interfaces and enumerations for static factory methods to create composed functions.
|
com.trigersoft.jaque.function.math |
Contains set of math functors.
|
void method(Predicate<Float> p) {
LambdaExpression<Predicate<Float>> parsed = LambdaExpression.parse(p);
//Use parsed Expression Tree...
}
making it possible to create type-safe fluent interfaces, i.e. instead of:
Customer obj = ...
obj.property("name").eq("John")
one can write
method<Customer>(obj -> obj.getName() == "John")
in type-safe, refactoring friendly manner.
The jdk.internal.lambda.dumpProxyClasses system property must be set and point to an existing writable directory to give the parser access to the lambda byte code.
Copyright © 2014 TrigerSoft. All rights reserved.