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