public interface WByteCollection extends WCollection<org.apache.hadoop.io.ByteWritable>, it.unimi.dsi.fastutil.bytes.ByteCollection
Modifier and Type | Method and Description |
---|---|
void |
forEachByte(ByteConsumer f)
Traverse all elements of the array list, calling given function on each
element, or until predicate returns false.
|
boolean |
forEachWhileByte(BytePredicate f)
Traverse all elements of the array list, calling given function on each
element.
|
addW, capacity, clear, fastForEachW, fastForEachWhileW, fastIteratorW, fastIteratorW, getElementTypeOps, readElements, setCapacity, size, writeElements
add, addAll, byteIterator, contains, containsAll, iterator, rem, removeAll, retainAll, toArray, toArray, toByteArray, toByteArray
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray
void forEachByte(ByteConsumer f)
f
- Function to call on each element.boolean forEachWhileByte(BytePredicate f)
f
- Function to call on each element.Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.