|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.shapelogic.predicate.PredicateBinder
public class PredicateBinder
Transform predicates.
E.g. binary predicates to unary predicates.
Constructor Summary | |
---|---|
PredicateBinder()
|
Method Summary | ||
---|---|---|
static
|
bind0(BinaryPredicate<In0,In1> binaryPredicate,
Calc1<In2,In1> calc,
In0 bindObject)
Combining a Stream represented as a CalcIndex0 with a binary Predicate. |
|
static
|
bind0(BinaryPredicate<In0,In1> binaryPredicate,
In0 bindObject)
Transform binary predicates to unary predicates. |
|
static
|
bind1(BinaryPredicate<In0,In1> binaryPredicate,
In1 bindObject)
Transform binary predicates to unary predicates. |
|
static
|
calc1ToPredicate(Calc1<In,java.lang.Boolean> calc)
Predicate and Calc has different signature this is an adapter method. |
|
static Predicate<java.lang.Integer> |
calcIndex0ToPredicate(CalcIndex0<java.lang.Boolean> calc)
Predicate and Calc has different signature this is an adapter method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PredicateBinder()
Method Detail |
---|
public static <In0,In1> Predicate<In1> bind0(BinaryPredicate<In0,In1> binaryPredicate, In0 bindObject)
public static <In0,In1> Predicate<In0> bind1(BinaryPredicate<In0,In1> binaryPredicate, In1 bindObject)
public static Predicate<java.lang.Integer> calcIndex0ToPredicate(CalcIndex0<java.lang.Boolean> calc)
calc
-
public static <In> Predicate<In> calc1ToPredicate(Calc1<In,java.lang.Boolean> calc)
calc
-
public static <In0,In1,In2> Predicate<In2> bind0(BinaryPredicate<In0,In1> binaryPredicate, Calc1<In2,In1> calc, In0 bindObject)
In1
- binaryPredicate
- calc
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |