@Generated(date="2015-02-05T14:41:31+0000", value="HPPC generated from: DoubleCollection.java") public interface DoubleCollection extends DoubleContainer
Modifier and Type | Method and Description |
---|---|
void |
clear()
Removes all elements from this collection.
|
int |
removeAll(DoubleLookupContainer c)
Removes all elements in this collection that are present
in
c . |
int |
removeAll(DoublePredicate predicate)
Removes all elements in this collection for which the
given predicate returns
true . |
int |
removeAllOccurrences(double e)
Removes all occurrences of
e from this collection. |
int |
retainAll(DoubleLookupContainer c)
Keeps all elements in this collection that are present
in
c . |
int |
retainAll(DoublePredicate predicate)
Keeps all elements in this collection for which the
given predicate returns
true . |
int removeAllOccurrences(double e)
e
from this collection.e
- Element to be removed from this collection, if present.int removeAll(DoubleLookupContainer c)
c
. Runs in time proportional to the number
of elements in this collection. Equivalent of sets difference.int removeAll(DoublePredicate predicate)
true
.int retainAll(DoubleLookupContainer c)
c
. Runs in time proportional to the number
of elements in this collection. Equivalent of sets intersection.int retainAll(DoublePredicate predicate)
true
.void clear()
Copyright © 2015 Carrot Search s.c.. All rights reserved.