@Generated(date="2017-07-11T19:16:23+0200",
value="KTypeCollection.java")
public interface LongCollection
extends LongContainer
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Removes all elements from this collection.
|
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. Runs in time proportional to the number
of elements in this collection. Equivalent of sets difference.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()
Copyright © 2017. All rights reserved.