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>>ASemigroupoverAthat chooses between two valuesxandyvia the following rules: Ifxis strictly less thany, returnyOtherwise, returnxMaxBy<A,B extends Comparable<B>> Given a mapping function from some typeAto someComparabletypeB, produce aSemigroupoverAthat chooses between two valuesxandyvia the following rules: Ifxis strictly less thanyin terms ofB, returnyOtherwise, returnxMaxWith<A>Given a comparator for some typeA, produce aSemigroupoverAthat chooses between two valuesxandyvia the following rules: Ifxis strictly less thanyin terms ofB, returnyOtherwise, returnxMerge<L,R> Min<A extends Comparable<A>>ASemigroupoverAthat chooses between two valuesxandyvia the following rules: Ifxis strictly greater thany, returnyOtherwise, returnxMinBy<A,B extends Comparable<B>> Given a mapping function from some typeAto someComparabletypeB, produce aSemigroupoverAthat chooses between two valuesxandyvia the following rules: Ifxis strictly greater thanyin terms ofB, returnyOtherwise, returnxMinWith<A>Given a comparator for some typeA, produce aSemigroupoverAthat chooses between two valuesxandyvia the following rules: Ifxis strictly greater thanyin terms ofB, returnyOtherwise, returnxRightAll<L,R> RightAny<L,R> RunAll<A>