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>
,SequencedCollection<E>
,SequencedSet<E>
,Set<E>
Utility subclass of
LinkedHashSet
that supports fluent API.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFluentHashSet
(int initialCapacity) FluentHashSet
(int initialCapacity, float loadFactor) FluentHashSet
(E... elements) FluentHashSet
(Collection<? extends E> c) -
Method Summary
Modifier and TypeMethodDescriptionFluent method to remove the specified element from this set.Fluent method to add the specified element to this set.Fluent method to add the elements to this set.withAll
(Collection<? extends E> c) Fluent method to add the elements from the specified collection to this set.Methods inherited from class java.util.LinkedHashSet
addFirst, addLast, getFirst, getLast, newLinkedHashSet, removeFirst, removeLast, reversed, spliterator
Methods inherited from class java.util.HashSet
add, clear, clone, contains, isEmpty, iterator, newHashSet, remove, size, toArray, toArray
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
FluentHashSet
public FluentHashSet() -
FluentHashSet
-
FluentHashSet
-
FluentHashSet
public FluentHashSet(int initialCapacity, float loadFactor) -
FluentHashSet
public FluentHashSet(int initialCapacity)
-
-
Method Details
-
with
Fluent method to add the specified element to this set. -
withAll
Fluent method to add the elements from the specified collection to this set. -
withAll
Fluent method to add the elements to this set. -
delete
Fluent method to remove the specified element from this set.
-