@Generated(date="2016-10-25T13:31:55+0200",
value="KTypeCollection.java")
public interface ShortCollection
extends ShortContainer
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Removes all elements from this collection.
|
void |
release()
Removes all elements from the collection and additionally releases any
internal buffers.
|
int |
removeAll(short e)
Removes all occurrences of
e 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 |
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 removeAll(short e)
e from this collection.e - Element to be removed from this collection, if present.int removeAll(ShortLookupContainer c)
c.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()
release()Copyright © 2016 Carrot Search s.c.. All Rights Reserved.