Class Or
java.lang.Object
com.jnape.palatable.lambda.monoid.builtin.Or
- All Implemented Interfaces:
Fn1<Boolean,
,Fn1<Boolean, Boolean>> Fn2<Boolean,
,Boolean, Boolean> BiPredicate<Boolean,
,Boolean> Applicative<Fn1<Boolean,
,Boolean>, Fn1<Boolean, ?>> Cartesian<Boolean,
,Fn1<Boolean, Boolean>, Fn1<?, ?>> Cocartesian<Boolean,
,Fn1<Boolean, Boolean>, Fn1<?, ?>> Contravariant<Boolean,
,Profunctor<?, Fn1<Boolean, Boolean>, Fn1<?, ?>>> Functor<Fn1<Boolean,
,Boolean>, Fn1<Boolean, ?>> Profunctor<Boolean,
,Fn1<Boolean, Boolean>, Fn1<?, ?>> Monad<Fn1<Boolean,
,Boolean>, Fn1<Boolean, ?>> MonadReader<Boolean,
,Fn1<Boolean, Boolean>, Fn1<Boolean, ?>> MonadRec<Fn1<Boolean,
,Boolean>, Fn1<Boolean, ?>> MonadWriter<Boolean,
,Fn1<Boolean, Boolean>, Fn1<Boolean, ?>> Monoid<Boolean>
,Semigroup<Boolean>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.jnape.palatable.lambda.functions.specialized.BiPredicate
and, apply, contraMap, diMapL, discardR, negate, or, toBiPredicate, uncurry
Methods inherited from interface com.jnape.palatable.lambda.functions.Fn1
andThen, carry, cartesian, censor, choose, cocartesian, diMap, diMapR, discardL, flatMap, fmap, lazyZip, listens, local, pure, self, thunk, toFunction, trampolineM, zip, zip
Methods inherited from interface com.jnape.palatable.lambda.functions.Fn2
apply, checkedApply, compose, toBiFunction, widen
Methods inherited from interface com.jnape.palatable.lambda.monoid.Monoid
foldLeft, foldRight, reduceLeft, reduceRight
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
Or
private Or()
-
-
Method Details
-
identity
Description copied from interface:Monoid
The identity element of this monoid. -
checkedApply
- Specified by:
checkedApply
in interfaceFn2<Boolean,
Boolean, Boolean>
-
foldMap
Description copied from interface:Monoid
Homomorphism combined with catamorphism. Convert anIterable<B>
to anIterable<A>
(that is, anIterable
of elements this monoid is formed over), then reduce the result from left to right. Under algebraic data types, this is isomorphic to a flatMap. -
flip
Description copied from interface:Monoid
Flip the order of the arguments. -
or
-
or
-
or
-