| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if this set did not already contain element.Adds |
| public default void | addAll(EconomicSet<E> other)
Adds all of the elements in |
| public default void | |
| public default void | |
| public void | |
| public static <E> EconomicSet | create()
Creates a new set guaranteeing insertion order when iterating over its elements with the
default |
| public static <E> EconomicSet | create(Equivalence strategy)
Creates a new set guaranteeing insertion order when iterating over its elements. |
| public static <E> EconomicSet | create(int initialCapacity)
Creates a new set guaranteeing insertion order when iterating over its elements with the
default |
| public static <E> EconomicSet | create(UnmodifiableEconomicSet<E> c)
Creates a new set guaranteeing insertion order when iterating over its elements with the
default |
| public static <E> EconomicSet | create(Equivalence strategy, int initialCapacity)
Creates a new set guaranteeing insertion order when iterating over its elements and initializes with the given capacity. |
| public static <E> EconomicSet | create(Equivalence strategy, UnmodifiableEconomicSet<E> c)
Creates a new set guaranteeing insertion order when iterating over its elements and inserts all elements of the specified collection. |
| public void | |
| public default void | removeAll(EconomicSet<E> other)
Removes from this set all of its elements that are contained in |
| public default void | |
| public default void | |
| public default void | retainAll(EconomicSet<E> other)
Removes from this set all of its elements that are not contained in |
| add | back to summary |
|---|---|
| public boolean add(E element) Adds
| |
| addAll | back to summary |
|---|---|
| public default void addAll(EconomicSet<E> other) Adds all of the elements in
| |
| addAll | back to summary |
|---|---|
| public default void addAll(Iterable<E> values) Adds all of the elements in
| |
| addAll | back to summary |
|---|---|
| public default void addAll(Iterator<E> iterator) Adds all of the elements enumerated by
| |
| clear | back to summary |
|---|---|
| public void clear() Removes all of the elements from this set. The set will be empty after this call returns.
| |
| create | back to summary |
|---|---|
| public static <E> EconomicSet Creates a new set guaranteeing insertion order when iterating over its elements with the
default
| |
| create | back to summary |
|---|---|
| public static <E> EconomicSet Creates a new set guaranteeing insertion order when iterating over its elements.
| |
| create | back to summary |
|---|---|
| public static <E> EconomicSet Creates a new set guaranteeing insertion order when iterating over its elements with the
default
| |
| create | back to summary |
|---|---|
| public static <E> EconomicSet Creates a new set guaranteeing insertion order when iterating over its elements with the
default
| |
| create | back to summary |
|---|---|
| public static <E> EconomicSet Creates a new set guaranteeing insertion order when iterating over its elements and initializes with the given capacity.
| |
| create | back to summary |
|---|---|
| public static <E> EconomicSet Creates a new set guaranteeing insertion order when iterating over its elements and inserts all elements of the specified collection.
| |
| remove | back to summary |
|---|---|
| public void remove(E element) Removes
| |
| removeAll | back to summary |
|---|---|
| public default void removeAll(EconomicSet<E> other) Removes from this set all of its elements that are contained in
| |
| removeAll | back to summary |
|---|---|
| public default void removeAll(Iterable<E> values) Removes from this set all of its elements that are contained in
| |
| removeAll | back to summary |
|---|---|
| public default void removeAll(Iterator<E> iterator) Removes from this set all of its elements that are enumerated by
| |
| retainAll | back to summary |
|---|---|
| public default void retainAll(EconomicSet<E> other) Removes from this set all of its elements that are not contained in
| |