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, waitMethods inherited from interface com.jnape.palatable.lambda.functions.specialized.BiPredicate
and, apply, contraMap, diMapL, discardR, negate, or, toBiPredicate, uncurryMethods 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, zipMethods inherited from interface com.jnape.palatable.lambda.functions.Fn2
apply, checkedApply, compose, toBiFunction, widenMethods 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:MonoidThe identity element of this monoid. -
checkedApply
- Specified by:
checkedApplyin interfaceFn2<Boolean,Boolean, Boolean>
-
foldMap
Description copied from interface:MonoidHomomorphism combined with catamorphism. Convert anIterable<B>to anIterable<A>(that is, anIterableof 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:MonoidFlip the order of the arguments. -
or
-
or
-
or
-