ByteContainer
, java.lang.Iterable<ByteCursor>
ByteDeque
, ByteIndexedContainer
ByteArrayDeque
, ByteArrayList
, ByteStack
@Generated(date="2018-05-21T11:30:38+0200", value="KTypeCollection.java") public interface ByteCollection extends ByteContainer
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(byte e) |
Removes all occurrences of
e from this collection. |
int |
removeAll(ByteLookupContainer c) |
Removes all elements in this collection that are present in
c . |
int |
removeAll(BytePredicate predicate) |
Removes all elements in this collection for which the given predicate
returns
true . |
int |
retainAll(ByteLookupContainer c) |
Keeps all elements in this collection that are present in
c . |
int |
retainAll(BytePredicate predicate) |
Keeps all elements in this collection for which the given predicate returns
true . |
int removeAll(byte e)
e
from this collection.e
- Element to be removed from this collection, if present.int removeAll(ByteLookupContainer c)
c
.int removeAll(BytePredicate predicate)
true
.int retainAll(ByteLookupContainer c)
c
.
Runs in time proportional to the number of elements in this collection.
Equivalent of sets intersection.int retainAll(BytePredicate predicate)
true
.void clear()
release()
Copyright © 2018 Carrot Search s.c.. All Rights Reserved.