java.lang.Iterable<ShortCursor>, ShortContainerShortDeque, ShortIndexedContainer, ShortSetShortArrayDeque, ShortArrayList, ShortByteHashMap.KeysContainer, ShortCharHashMap.KeysContainer, ShortDoubleHashMap.KeysContainer, ShortFloatHashMap.KeysContainer, ShortHashSet, ShortIntHashMap.KeysContainer, ShortLongHashMap.KeysContainer, ShortObjectHashMap.KeysContainer, ShortScatterSet, ShortShortHashMap.KeysContainer, ShortStack@Generated(date="2018-05-21T12:24:05+0200", value="KTypeCollection.java") public interface ShortCollection extends ShortContainer
| Modifier and Type | Method | 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(ShortPredicate predicate) |
Removes all elements in this collection for which the given predicate
returns
true. |
int |
removeAll(ShortLookupContainer c) |
Removes 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 |
retainAll(ShortLookupContainer c) |
Keeps all elements in this collection that are present in
c. |
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 © 2018 Carrot Search s.c.. All Rights Reserved.