Uses of Interface
io.atlassian.fugue.Semigroup
Packages that use Semigroup
-
Uses of Semigroup in io.atlassian.fugue
Subinterfaces of Semigroup in io.atlassian.fugueModifier and TypeInterfaceDescriptioninterfaceMonoid<A>A Monoid is an algebraic structure consisting of an associative binary operation across the values of a given type (a monoid is aSemigroup) and an identity element for this operation.Fields in io.atlassian.fugue declared as SemigroupModifier and TypeFieldDescriptionstatic final Semigroup<BigDecimal> Semigroups.bigDecimalMaximumA semigroup that yields the maximum of big decimals.static final Semigroup<BigDecimal> Semigroups.bigDecimalMinimumA semigroup that yields the minimum of big decimals.static final Semigroup<BigInteger> Semigroups.bigintMaximumA semigroup that yields the maximum of big integers.static final Semigroup<BigInteger> Semigroups.bigintMinimumA semigroup that yields the minimum of big integers.Semigroups.intMaximumA semigroup that yields the maximum of integers.Semigroups.intMinimumA semigroup that yields the minimum of integers.Semigroups.longMaximumA semigroup that yields the maximum of longs.Semigroups.longMinimumA semigroup that yields the minimum of longs.Methods in io.atlassian.fugue that return SemigroupModifier and TypeMethodDescriptionComposes a semigroup with another.static <A> Semigroup<A> Return the dual Semigroup of a semigroupSums up values inside either, if both are left or right.static <A> Semigroup<A> Semigroups.first()Return the first value, ignore the secondA semigroup for functions.static <A> Semigroup<A> Semigroups.last()Return the last value, ignore the firststatic <A extends Comparable<A>>
Semigroup<A> Semigroups.max()A semigroup that yields the maximum of comparable values.static <A> Semigroup<A> Semigroups.max(Comparator<A> comparator) A semigroup that yields the maximum of by a comparator.static <A extends Comparable<A>>
Semigroup<A> Semigroups.min()A semigroup that yields the minimum of comparable values.static <A> Semigroup<A> Semigroups.min(Comparator<A> comparator) A semigroup that yields the minimum of by a comparator.Methods in io.atlassian.fugue with parameters of type SemigroupModifier and TypeMethodDescriptionComposes a semigroup with another.static <A> Semigroup<A> Return the dual Semigroup of a semigroupA monoid Sums up values inside eitherSemigroups.either(Semigroup, Semigroup).Sums up values inside either, if both are left or right.A semigroup for functions.A monoid for options that combine inner value with a semigroup. -
Uses of Semigroup in io.atlassian.fugue.law
Fields in io.atlassian.fugue.law declared as SemigroupConstructors in io.atlassian.fugue.law with parameters of type SemigroupModifierConstructorDescriptionSemigroupLaws(Semigroup<A> semigroup) Build a law instance to check semigroup properties