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