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.
|
spliterator
add, clear, clone, contains, isEmpty, iterator, remove, size
equals, hashCode, removeAll
addAll, containsAll, retainAll, toArray, toArray, toString
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
parallelStream, removeIf, stream
public 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)
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.