@Generated(date="2015-05-05T11:00:01+0200",
value="KTypeCollection.java")
public interface LongCollection
extends LongContainer
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Removes all elements from this collection.
|
void |
release()
Removes all elements from the collection and additionally releases any
internal buffers.
|
int |
removeAll(long e)
Removes all occurrences of
e from this collection. |
int |
removeAll(LongLookupContainer c)
Removes all elements in this collection that are present in
c. |
int |
removeAll(LongPredicate predicate)
Removes all elements in this collection for which the given predicate
returns
true. |
int |
retainAll(LongLookupContainer c)
Keeps all elements in this collection that are present in
c. |
int |
retainAll(LongPredicate predicate)
Keeps all elements in this collection for which the given predicate returns
true. |
int removeAll(long e)
e from this collection.e - Element to be removed from this collection, if present.int removeAll(LongLookupContainer c)
c.int removeAll(LongPredicate predicate)
true.int retainAll(LongLookupContainer c)
c.
Runs in time proportional to the number of elements in this collection.
Equivalent of sets intersection.int retainAll(LongPredicate predicate)
true.void clear()
release()Copyright © 2015 Carrot Search s.c.. All Rights Reserved.