Package com.jnape.palatable.lambda.semigroup.builtin
package com.jnape.palatable.lambda.semigroup.builtin
-
ClassesClassDescriptionAbsent<A>Collapse<_1,
_2> Compose<A>Intersection<A>LeftAll<L,R> LeftAny<L,R> Max<A extends Comparable<A>>ASemigroup
overA
that chooses between two valuesx
andy
via the following rules: Ifx
is strictly less thany
, returny
Otherwise, returnx
MaxBy<A,B extends Comparable<B>> Given a mapping function from some typeA
to someComparable
typeB
, produce aSemigroup
overA
that chooses between two valuesx
andy
via the following rules: Ifx
is strictly less thany
in terms ofB
, returny
Otherwise, returnx
MaxWith<A>Given a comparator for some typeA
, produce aSemigroup
overA
that chooses between two valuesx
andy
via the following rules: Ifx
is strictly less thany
in terms ofB
, returny
Otherwise, returnx
Merge<L,R> Min<A extends Comparable<A>>ASemigroup
overA
that chooses between two valuesx
andy
via the following rules: Ifx
is strictly greater thany
, returny
Otherwise, returnx
MinBy<A,B extends Comparable<B>> Given a mapping function from some typeA
to someComparable
typeB
, produce aSemigroup
overA
that chooses between two valuesx
andy
via the following rules: Ifx
is strictly greater thany
in terms ofB
, returny
Otherwise, returnx
MinWith<A>Given a comparator for some typeA
, produce aSemigroup
overA
that chooses between two valuesx
andy
via the following rules: Ifx
is strictly greater thany
in terms ofB
, returny
Otherwise, returnx
RightAll<L,R> RightAny<L,R> RunAll<A>