Package eu.bandm.tools.paisley
Class FunctionPatterns
java.lang.Object
eu.bandm.tools.paisley.FunctionPatterns
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <A> Pattern<A>
static <A> Pattern<A>
ifThenElse
(Predicate<? super A> condition, Pattern<? super A> thenBody, Pattern<? super A> elseBody) static <A> Pattern<A>
static <A,
B> Motif<B, A> static <A,
B> Pattern<A> static <A,
B> Motif<B, A> transformIfNonNull
(Function<? super A, ? extends B> fun) static <A,
B> Pattern<A> transformIfNonNull
(Function<? super A, ? extends B> fun, Pattern<B> body)
-
Field Details
-
functionApply
-
predicateTest
-
-
Method Details
-
transform
-
transform
-
transformIfNonNull
-
transformIfNonNull
-
ifThenElse
-
filter
-
test
-