@Generated(date="2018-01-02T13:19:09+0000", value="HPPC generated from: LongCollection.java") public interface LongCollection extends LongContainer
Modifier and Type | Method and Description |
---|---|
void |
clear()
Removes all elements 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 |
removeAllOccurrences(long e)
Removes all occurrences of
e from this collection. |
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 removeAllOccurrences(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 © 2018 Carrot Search s.c.. All rights reserved.