Package | Description |
---|---|
com.jnape.palatable.lambda.semigroup.builtin |
Class and Description |
---|
Absent |
Collapse |
Compose |
Intersection |
LeftAll |
LeftAny |
Max
A
Semigroup over A that chooses between two values x and y via the
following rules:
If x is strictly less than y , return y
Otherwise, return x
|
MaxBy
Given a mapping function from some type
A to some Comparable type B , produce a
Semigroup over A that chooses between two values x and y via the
following rules:
If x is strictly less than y in terms of B , return y
Otherwise, return x
|
Merge |
Min
A
Semigroup over A that chooses between two values x and y via the
following rules:
If x is strictly greater than y , return y
Otherwise, return x
|
MinBy
Given a mapping function from some type
A to some Comparable type B , produce a
Semigroup over A that chooses between two values x and y via the
following rules:
If x is strictly greater than y in terms of B , return y
Otherwise, return x
|
RightAll |
RightAny |
RunAll |