public class FluentHashSet<E> extends LinkedHashSet<E>
LinkedHashSet that supports fluent API.| Constructor and Description | 
|---|
FluentHashSet()  | 
FluentHashSet(Collection<? extends E> c)  | 
FluentHashSet(E... elements)  | 
FluentHashSet(int initialCapacity)  | 
FluentHashSet(int initialCapacity,
             float loadFactor)  | 
| Modifier and Type | Method and Description | 
|---|---|
FluentHashSet<E> | 
delete(Object o)
Fluent method to remove the specified element from this set. 
 | 
FluentHashSet<E> | 
with(E e)
Fluent method to add the specified element to this set. 
 | 
FluentHashSet<E> | 
withAll(Collection<? extends E> c)
Fluent method to add the elements from the specified collection to this
 set. 
 | 
FluentHashSet<E> | 
withAll(E... elements)
Fluent method to add the elements to this set. 
 | 
spliteratoradd, clear, clone, contains, isEmpty, iterator, remove, sizeequals, hashCode, removeAlladdAll, containsAll, retainAll, toArray, toArray, toStringadd, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArrayparallelStream, removeIf, streampublic FluentHashSet()
public FluentHashSet(Collection<? extends E> c)
public FluentHashSet(E... elements)
public FluentHashSet(int initialCapacity,
                     float loadFactor)
public FluentHashSet(int initialCapacity)
public FluentHashSet<E> with(E e)
public FluentHashSet<E> withAll(Collection<? extends E> c)
public FluentHashSet<E> withAll(E... elements)
public FluentHashSet<E> delete(Object o)