Class AddFunction.AddCollectionFunction<T>

  • All Implemented Interfaces:
    java.io.Serializable, java.util.function.BiFunction<java.util.Collection<T>,​T,​java.util.Collection<T>>, Function2<java.util.Collection<T>,​T,​java.util.Collection<T>>
    Enclosing class:
    AddFunction

    private static class AddFunction.AddCollectionFunction<T>
    extends java.lang.Object
    implements Function2<java.util.Collection<T>,​T,​java.util.Collection<T>>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Collection<T> value​(java.util.Collection<T> collection, T addElement)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.BiFunction

        andThen
      • Methods inherited from interface org.eclipse.collections.api.block.function.Function2

        apply
    • Constructor Detail

      • AddCollectionFunction

        private AddCollectionFunction()
    • Method Detail

      • value

        public java.util.Collection<T> value​(java.util.Collection<T> collection,
                                             T addElement)
        Specified by:
        value in interface Function2<java.util.Collection<T>,​T,​java.util.Collection<T>>