@Generated(date="2017-07-11T19:16:23+0200",
value="KTypeCollection.java")
public interface ShortCollection
extends ShortContainer
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Removes all elements from this collection.
|
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. 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 © 2017. All rights reserved.