Class AddAll<A,​C extends java.util.Collection<A>>

    • Field Detail

      • INSTANCE

        private static final AddAll<?,​?> INSTANCE
    • Constructor Detail

      • AddAll

        private AddAll()
    • Method Detail

      • checkedApply

        public Monoid<C> checkedApply​(Fn0<C> cFn0)
        Description copied from interface: Fn2
        Invoke this function with the given argument, potentially throwing any Throwable.
        Specified by:
        checkedApply in interface Fn1<A,​C extends java.util.Collection<A>>
        Specified by:
        checkedApply in interface Fn2<Fn0<C extends java.util.Collection<A>>,​C extends java.util.Collection<A>,​Fn1<C extends java.util.Collection<A>,​C extends java.util.Collection<A>>>
        Specified by:
        checkedApply in interface MonoidFactory<A,​C extends java.util.Collection<A>>
        Specified by:
        checkedApply in interface SemigroupFactory<A,​C extends java.util.Collection<A>>
        Parameters:
        cFn0 - the argument
        Returns:
        the result of the function application
      • addAll

        public static <A,​C extends java.util.Collection<A>> AddAll<A,​C> addAll()
      • addAll

        public static <A,​C extends java.util.Collection<A>> Monoid<C> addAll​(Fn0<C> collectionFn0)
      • addAll

        public static <A,​C extends java.util.Collection<A>> Fn1<C,​C> addAll​(Fn0<C> collectionFn0,
                                                                                        C xs)
      • addAll

        public static <A,​C extends java.util.Collection<A>> C addAll​(Fn0<C> collectionFn0,
                                                                           C xs,
                                                                           C ys)