Class SetRemoveFunction<V>

Type Parameters:
V - the set element type
All Implemented Interfaces:
BiConsumer<Set<V>, Collection<V>>, BiFunction<Object,Set<V>,Set<V>>, Operation<Collection<V>>
Direct Known Subclasses:
AddressSetRemoveFunction

public class SetRemoveFunction<V> extends CollectionRemoveFunction<V,Set<V>>
Function that removes one or more elements from a set.
Author:
Paul Ferraro
  • Constructor Details

    • SetRemoveFunction

      public SetRemoveFunction(V value)
      Constructs a new function that removes the specified element from a set.
      Parameters:
      value - the value to be removed from the set
    • SetRemoveFunction

      public SetRemoveFunction(Collection<V> values)
      Constructs a new function that removes the specified elements from a set.
      Parameters:
      values - the values to be removed from the set