java.lang.Iterable<KType>, ObjectContainer<KType>ObjectDeque<KType>, ObjectIndexedContainer<KType>, ObjectSet<KType>ObjectArrayDeque, ObjectArrayList, ObjectByteHashMap.KeysContainer, ObjectCharHashMap.KeysContainer, ObjectDoubleHashMap.KeysContainer, ObjectFloatHashMap.KeysContainer, ObjectHashSet, ObjectIdentityHashSet, ObjectIntHashMap.KeysContainer, ObjectLongHashMap.KeysContainer, ObjectObjectHashMap.KeysContainer, ObjectScatterSet, ObjectShortHashMap.KeysContainer, ObjectStack@Generated(date="2018-05-21T12:24:05+0200", value="KTypeCollection.java") public interface ObjectCollection<KType> extends ObjectContainer<KType>
| 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(ObjectLookupContainer<? super KType> c) |
Removes all elements in this collection that are present in
c. |
int |
removeAll(ObjectPredicate<? super KType> predicate) |
Removes all elements in this collection for which the given predicate
returns
true. |
int |
removeAll(KType e) |
Removes all occurrences of
e from this collection. |
int |
retainAll(ObjectLookupContainer<? super KType> c) |
Keeps all elements in this collection that are present in
c. |
int |
retainAll(ObjectPredicate<? super KType> predicate) |
Keeps all elements in this collection for which the given predicate returns
true. |
int removeAll(KType e)
e from this collection.e - Element to be removed from this collection, if present.int removeAll(ObjectLookupContainer<? super KType> c)
c.int removeAll(ObjectPredicate<? super KType> predicate)
true.int retainAll(ObjectLookupContainer<? super KType> c)
c.
Runs in time proportional to the number of elements in this collection.
Equivalent of sets intersection.int retainAll(ObjectPredicate<? super KType> predicate)
true.void clear()
release()Copyright © 2018 Carrot Search s.c.. All Rights Reserved.