Class AddAll<A,C extends Collection<A>>

java.lang.Object
com.jnape.palatable.lambda.monoid.builtin.AddAll<A,C>
All Implemented Interfaces:
Fn1<Fn0<C>,Fn1<C,Fn1<C,C>>>, Fn2<Fn0<C>,C,Fn1<C,C>>, Fn3<Fn0<C>,C,C,C>, MonoidFactory<Fn0<C>,C>, SemigroupFactory<Fn0<C>,C>, Applicative<Fn1<C,Fn1<C,C>>,Fn1<Fn0<C>,?>>, Cartesian<Fn0<C>,Fn1<C,Fn1<C,C>>,Fn1<?,?>>, Cocartesian<Fn0<C>,Fn1<C,Fn1<C,C>>,Fn1<?,?>>, Contravariant<Fn0<C>,Profunctor<?,Fn1<C,Fn1<C,C>>,Fn1<?,?>>>, Functor<Fn1<C,Fn1<C,C>>,Fn1<Fn0<C>,?>>, Profunctor<Fn0<C>,Fn1<C,Fn1<C,C>>,Fn1<?,?>>, Monad<Fn1<C,Fn1<C,C>>,Fn1<Fn0<C>,?>>, MonadReader<Fn0<C>,Fn1<C,Fn1<C,C>>,Fn1<Fn0<C>,?>>, MonadRec<Fn1<C,Fn1<C,C>>,Fn1<Fn0<C>,?>>, MonadWriter<Fn0<C>,Fn1<C,Fn1<C,C>>,Fn1<Fn0<C>,?>>

public final class AddAll<A,C extends Collection<A>> extends Object implements MonoidFactory<Fn0<C>,C>
The Monoid instance formed under mutative concatenation for an arbitrary Collection. The collection subtype (C) must support Collection.addAll(Collection).

Note that the result is a new collection, and the inputs to this monoid are left unmodified.

See Also: