Class FluentHashSet<E>

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.HashSet<E>
java.util.LinkedHashSet<E>
com.amazonaws.services.dynamodbv2.document.utils.FluentHashSet<E>
All Implemented Interfaces:
Serializable, Cloneable, Iterable<E>, Collection<E>, Set<E>

public class FluentHashSet<E> extends LinkedHashSet<E>
Utility subclass of LinkedHashSet that supports fluent API.
See Also:
  • Constructor Details

    • FluentHashSet

      public FluentHashSet()
    • FluentHashSet

      public FluentHashSet(Collection<? extends E> c)
    • FluentHashSet

      public FluentHashSet(E... elements)
    • FluentHashSet

      public FluentHashSet(int initialCapacity, float loadFactor)
    • FluentHashSet

      public FluentHashSet(int initialCapacity)
  • Method Details

    • with

      public FluentHashSet<E> with(E e)
      Fluent method to add the specified element to this set.
    • withAll

      public FluentHashSet<E> withAll(Collection<? extends E> c)
      Fluent method to add the elements from the specified collection to this set.
    • withAll

      public FluentHashSet<E> withAll(E... elements)
      Fluent method to add the elements to this set.
    • delete

      public FluentHashSet<E> delete(Object o)
      Fluent method to remove the specified element from this set.