| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public int | Returns: The number of removed elements as a result of this call.Element to be removed from this collection, if present. e)Removes all occurrences of |
| public int | Returns: Returns the number of removed elements.Removes all elements in this collection that are present in |
| public int | Returns: Returns the number of removed elements.Removes all elements in this collection for which the given predicate returns |
| public int | Returns: Returns the number of removed elements.Keeps all elements in this collection that are present in |
| public int | Returns: Returns the number of removed elements.Keeps all elements in this collection for which the given predicate returns |
| clear | back to summary |
|---|---|
| public void clear() Removes all elements from this collection.
| |
| release | back to summary |
|---|---|
| public void release() Removes all elements from the collection and additionally releases any internal buffers.
Typically, if the object is to be reused, a simple
| |
| removeAll | back to summary |
|---|---|
| public int removeAll(long e) Removes all occurrences of
| |
| removeAll | back to summary |
|---|---|
| public int removeAll(LongLookupContainer c) Removes all elements in this collection that are present in
| |
| removeAll | back to summary |
|---|---|
| public int removeAll(LongPredicate predicate) Removes all elements in this collection for which the given predicate returns
| |
| retainAll | back to summary |
|---|---|
| public int retainAll(LongLookupContainer c) Keeps all elements in this collection that are present in
| |
| retainAll | back to summary |
|---|---|
| public int retainAll(LongPredicate predicate) Keeps all elements in this collection for which the given predicate returns
| |