Class And
java.lang.Object
com.jnape.palatable.lambda.monoid.builtin.And
- 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>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BiPredicate
and, apply, contraMap, diMapL, discardR, negate, or, toBiPredicate, uncurryMethods inherited from interface 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 Fn2
apply, checkedApply, compose, toBiFunction, widenMethods inherited from interface Monoid
foldLeft, foldRight, reduceLeft, reduceRight
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
And
private And()
-
-
Method Details
-
identity
-
checkedApply
-
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. -
and
-
and
-
and
-