Package | Description |
---|---|
com.koloboke.collect |
The root package of the collection library.
|
com.koloboke.collect.set |
Contains interfaces of
Set specializations and their factories. |
com.koloboke.collect.set.hash |
Contains interfaces of
Set specializations, based on hash tables,
their factories and static factory methods. |
Modifier and Type | Method and Description |
---|---|
void |
ByteCollection.forEach(ByteConsumer action)
Performs the given action for each element of this collection until all elements have been
processed or the action throws an exception.
|
void |
ByteCursor.forEachForward(ByteConsumer action)
Performs the given action for each element of the iteration after the cursor in forward
direction until all elements have been processed or the action throws an exception.
|
void |
ByteIterator.forEachRemaining(ByteConsumer action)
Performs the given action for each remaining element until all elements
have been processed or the action throws an exception.
|
Modifier and Type | Method and Description |
---|---|
ByteSet |
ByteSetFactory.newImmutableSet(Consumer<ByteConsumer> elementsSupplier)
Constructs a new immutable set of elements consumed by the callback within the given closure.
|
ByteSet |
ByteSetFactory.newImmutableSet(Consumer<ByteConsumer> elementsSupplier,
int expectedSize)
Constructs a new immutable set of elements consumed by the callback within the given closure.
|
ByteSet |
ByteSetFactory.newMutableSet(Consumer<ByteConsumer> elementsSupplier)
Constructs a new mutable set of elements consumed by the callback within the given closure.
|
ByteSet |
ByteSetFactory.newMutableSet(Consumer<ByteConsumer> elementsSupplier,
int expectedSize)
Constructs a new mutable set of elements consumed by the callback within the given closure.
|
ByteSet |
ByteSetFactory.newUpdatableSet(Consumer<ByteConsumer> elementsSupplier)
Constructs a new updatable set of elements consumed by the callback within the given closure.
|
ByteSet |
ByteSetFactory.newUpdatableSet(Consumer<ByteConsumer> elementsSupplier,
int expectedSize)
Constructs a new updatable set of elements consumed by the callback within the given closure.
|
Modifier and Type | Method and Description |
---|---|
HashByteSet |
HashByteSetFactory.newImmutableSet(Consumer<ByteConsumer> elementsSupplier) |
static HashByteSet |
HashByteSets.newImmutableSet(Consumer<ByteConsumer> elementsSupplier)
Constructs a new immutable set of elements consumed by the callback within the given closure.
|
HashByteSet |
HashByteSetFactory.newImmutableSet(Consumer<ByteConsumer> elementsSupplier,
int expectedSize) |
static HashByteSet |
HashByteSets.newImmutableSet(Consumer<ByteConsumer> elementsSupplier,
int expectedSize)
Constructs a new immutable set of elements consumed by the callback within the given closure.
|
HashByteSet |
HashByteSetFactory.newMutableSet(Consumer<ByteConsumer> elementsSupplier) |
static HashByteSet |
HashByteSets.newMutableSet(Consumer<ByteConsumer> elementsSupplier)
Constructs a new mutable set of elements consumed by the callback within the given closure.
|
HashByteSet |
HashByteSetFactory.newMutableSet(Consumer<ByteConsumer> elementsSupplier,
int expectedSize) |
static HashByteSet |
HashByteSets.newMutableSet(Consumer<ByteConsumer> elementsSupplier,
int expectedSize)
Constructs a new mutable set of elements consumed by the callback within the given closure.
|
HashByteSet |
HashByteSetFactory.newUpdatableSet(Consumer<ByteConsumer> elementsSupplier) |
static HashByteSet |
HashByteSets.newUpdatableSet(Consumer<ByteConsumer> elementsSupplier)
Constructs a new updatable set of elements consumed by the callback within the given closure.
|
HashByteSet |
HashByteSetFactory.newUpdatableSet(Consumer<ByteConsumer> elementsSupplier,
int expectedSize) |
static HashByteSet |
HashByteSets.newUpdatableSet(Consumer<ByteConsumer> elementsSupplier,
int expectedSize)
Constructs a new updatable set of elements consumed by the callback within the given closure.
|