Class CollectionRemoveFunction<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>, Operation<Collection<V>>
Direct Known Subclasses:
SetRemoveFunction

public class CollectionRemoveFunction<V, C extends Collection<V>> extends CollectionFunction<V,C>
Function that removes one or more elements from a collection.
Author:
Paul Ferraro
  • Constructor Details

    • CollectionRemoveFunction

      public CollectionRemoveFunction(Collection<V> values, Operations<C> operations)
      Constructs a new function that removes the specified elements from a collection.
      Parameters:
      values - the elements to be removed from the collection
      operations - the operations
  • Method Details

    • accept

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