Class CollectionAddFunction<V,C extends Collection<V>>

Type Parameters:
V - the collection element type
C - the collection type
All Implemented Interfaces:
BiConsumer<C,Collection<V>>, BiFunction<Object,C,C>
Direct Known Subclasses:
SetAddFunction

public class CollectionAddFunction<V,C extends Collection<V>> extends CollectionFunction<V,C>
Function that adds an item to a collection.
Author:
Paul Ferraro
  • Constructor Details

  • Method Details

    • accept

      public void accept(C collection, Collection<V> operand)