Uses of Interface
com.jnape.palatable.lambda.semigroup.Semigroup
Packages that use Semigroup
Package
Description
-
Uses of Semigroup in com.jnape.palatable.lambda.functions.specialized
Methods in com.jnape.palatable.lambda.functions.specialized that return Semigroup -
Uses of Semigroup in com.jnape.palatable.lambda.monoid
Subinterfaces of Semigroup in com.jnape.palatable.lambda.monoidMethods in com.jnape.palatable.lambda.monoid with parameters of type Semigroup -
Uses of Semigroup in com.jnape.palatable.lambda.monoid.builtin
Classes in com.jnape.palatable.lambda.monoid.builtin that implement SemigroupModifier and TypeClassDescriptionfinal class
AMonoid
instance formed byBoolean
.final class
Concat<A>
final class
Endo<A>
final class
First<A>
final class
AMonoid
instance formed byString
that concats two strings together.final class
Last<A>
final class
AMonoid
instance formed by mergingHMaps
using the chosenTypeSafeKey
->Semigroup
mappings
, defaulting toLast
in case noSemigroup
has been chosen for a givenTypeSafeKey
.final class
AMonoid
instance formed byBoolean
.final class
final class
final class
Union<A>
final class
Logical exclusive-or.Methods in com.jnape.palatable.lambda.monoid.builtin that return types with arguments of type SemigroupMethods in com.jnape.palatable.lambda.monoid.builtin with parameters of type SemigroupModifier and TypeMethodDescriptionMerge.checkedApply
(Semigroup<L> lSemigroup, Monoid<R> rMonoid) Present.checkedApply
(Semigroup<A> aSemigroup) <A> MergeHMaps
MergeHMaps.key
(TypeSafeKey<?, A> key, Semigroup<A> semigroup) static <L,
R> MonoidFactory <Monoid<R>, Either<L, R>> static <L,
R> Either <L, R> MergeHMaps.merge
(TypeSafeKey<?, A> key, Semigroup<Maybe<A>> semigroup) static <K,
V> Map <K, V> static <A> Maybe
<A> -
Uses of Semigroup in com.jnape.palatable.lambda.semigroup
Methods in com.jnape.palatable.lambda.semigroup that return Semigroup -
Uses of Semigroup in com.jnape.palatable.lambda.semigroup.builtin
Classes in com.jnape.palatable.lambda.semigroup.builtin that implement SemigroupModifier and TypeClassDescriptionfinal class
Intersection<A>
final class
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
final class
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
Methods in com.jnape.palatable.lambda.semigroup.builtin that return SemigroupModifier and TypeMethodDescriptionAbsent.checkedApply
(Semigroup<A> aSemigroup) Collapse.checkedApply
(Semigroup<_1> _1Semigroup, Semigroup<_2> _2Semigroup) Compose.checkedApply
(Semigroup<A> aSemigroup) LeftAll.checkedApply
(Semigroup<L> lSemigroup) LeftAny.checkedApply
(Semigroup<L> lSemigroup) MaxBy.checkedApply
(Fn1<? super A, ? extends B> compareFn) MaxWith.checkedApply
(Comparator<A> comparator) Merge.checkedApply
(Semigroup<L> lSemigroup, Semigroup<R> rSemigroup) MinBy.checkedApply
(Fn1<? super A, ? extends B> compareFn) MinWith.checkedApply
(Comparator<A> comparator) RightAll.checkedApply
(Semigroup<R> rSemigroup) RightAny.checkedApply
(Semigroup<R> rSemigroup) RunAll.checkedApply
(Semigroup<A> semigroup) static <A> Semigroup
<CompletableFuture<A>> static <A,
B extends Comparable<B>>
Semigroup<A> static <A> Semigroup
<A> MaxWith.maxWith
(Comparator<A> compareFn) static <A,
B extends Comparable<B>>
Semigroup<A> static <A> Semigroup
<A> MinWith.minWith
(Comparator<A> compareFn) Absent.shortCircuitSemigroup
(Semigroup<A> aSemigroup) Methods in com.jnape.palatable.lambda.semigroup.builtin that return types with arguments of type SemigroupModifier and TypeMethodDescriptionstatic <_1,
_2> SemigroupFactory <Semigroup<_2>, Tuple2<_1, _2>> static <L,
R> SemigroupFactory <Semigroup<R>, Either<L, R>> Methods in com.jnape.palatable.lambda.semigroup.builtin with parameters of type SemigroupModifier and TypeMethodDescriptionstatic <A> Maybe
<A> Absent.checkedApply
(Semigroup<A> aSemigroup) Collapse.checkedApply
(Semigroup<_1> _1Semigroup, Semigroup<_2> _2Semigroup) Compose.checkedApply
(Semigroup<A> aSemigroup) LeftAll.checkedApply
(Semigroup<L> lSemigroup) LeftAny.checkedApply
(Semigroup<L> lSemigroup) Merge.checkedApply
(Semigroup<L> lSemigroup, Semigroup<R> rSemigroup) RightAll.checkedApply
(Semigroup<R> rSemigroup) RightAny.checkedApply
(Semigroup<R> rSemigroup) RunAll.checkedApply
(Semigroup<A> semigroup) static <_1,
_2> SemigroupFactory <Semigroup<_2>, Tuple2<_1, _2>> static <_1,
_2> Tuple2 <_1, _2> Collapse.collapse
(Semigroup<_1> _1Semigroup, Semigroup<_2> _2Semigroup, Tuple2<_1, _2> x, Tuple2<_1, _2> y) static <A> Semigroup
<CompletableFuture<A>> static <A> Fn1
<CompletableFuture<A>, CompletableFuture<A>> Compose.compose
(Semigroup<A> aSemigroup, CompletableFuture<A> x) static <A> CompletableFuture
<A> Compose.compose
(Semigroup<A> aSemigroup, CompletableFuture<A> x, CompletableFuture<A> y) static <L,
R> Either <L, R> static <L,
R> Either <L, R> static <L,
R> SemigroupFactory <Semigroup<R>, Either<L, R>> static <L,
R> Either <L, R> static <L,
R> Either <L, R> static <L,
R> Either <L, R> static <A> IO
<A> Absent.shortCircuitSemigroup
(Semigroup<A> aSemigroup)