|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Generated(date="2011-11-28T23:36:05+0000", value="HPPC generated from: ByteCollection.java") public interface ByteCollection
A collection allows basic, efficient operations on sets of elements (difference and intersection).
Method Summary | |
---|---|
void |
clear()
Removes all elements 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 |
removeAllOccurrences(byte e)
Removes all occurrences of e from this collection. |
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 . |
Methods inherited from interface com.carrotsearch.hppc.ByteContainer |
---|
contains, forEach, forEach, isEmpty, iterator, size, toArray |
Method Detail |
---|
int removeAllOccurrences(byte e)
e
from this collection.
e
- Element to be removed from this collection, if present.
int removeAll(ByteLookupContainer c)
c
. Runs in time proportional to the number
of elements in this collection. Equivalent of sets difference.
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |