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 |
FloatCollection.forEach(FloatConsumer action)
Performs the given action for each element of this collection until all elements have been
processed or the action throws an exception.
|
void |
FloatCursor.forEachForward(FloatConsumer 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 |
FloatIterator.forEachRemaining(FloatConsumer 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 |
---|---|
FloatSet |
FloatSetFactory.newImmutableSet(Consumer<FloatConsumer> elementsSupplier)
Constructs a new immutable set of elements consumed by the callback within the given closure.
|
FloatSet |
FloatSetFactory.newImmutableSet(Consumer<FloatConsumer> elementsSupplier,
int expectedSize)
Constructs a new immutable set of elements consumed by the callback within the given closure.
|
FloatSet |
FloatSetFactory.newMutableSet(Consumer<FloatConsumer> elementsSupplier)
Constructs a new mutable set of elements consumed by the callback within the given closure.
|
FloatSet |
FloatSetFactory.newMutableSet(Consumer<FloatConsumer> elementsSupplier,
int expectedSize)
Constructs a new mutable set of elements consumed by the callback within the given closure.
|
FloatSet |
FloatSetFactory.newUpdatableSet(Consumer<FloatConsumer> elementsSupplier)
Constructs a new updatable set of elements consumed by the callback within the given closure.
|
FloatSet |
FloatSetFactory.newUpdatableSet(Consumer<FloatConsumer> elementsSupplier,
int expectedSize)
Constructs a new updatable set of elements consumed by the callback within the given closure.
|
Modifier and Type | Method and Description |
---|---|
HashFloatSet |
HashFloatSetFactory.newImmutableSet(Consumer<FloatConsumer> elementsSupplier) |
static HashFloatSet |
HashFloatSets.newImmutableSet(Consumer<FloatConsumer> elementsSupplier)
Constructs a new immutable set of elements consumed by the callback within the given closure.
|
HashFloatSet |
HashFloatSetFactory.newImmutableSet(Consumer<FloatConsumer> elementsSupplier,
int expectedSize) |
static HashFloatSet |
HashFloatSets.newImmutableSet(Consumer<FloatConsumer> elementsSupplier,
int expectedSize)
Constructs a new immutable set of elements consumed by the callback within the given closure.
|
HashFloatSet |
HashFloatSetFactory.newMutableSet(Consumer<FloatConsumer> elementsSupplier) |
static HashFloatSet |
HashFloatSets.newMutableSet(Consumer<FloatConsumer> elementsSupplier)
Constructs a new mutable set of elements consumed by the callback within the given closure.
|
HashFloatSet |
HashFloatSetFactory.newMutableSet(Consumer<FloatConsumer> elementsSupplier,
int expectedSize) |
static HashFloatSet |
HashFloatSets.newMutableSet(Consumer<FloatConsumer> elementsSupplier,
int expectedSize)
Constructs a new mutable set of elements consumed by the callback within the given closure.
|
HashFloatSet |
HashFloatSetFactory.newUpdatableSet(Consumer<FloatConsumer> elementsSupplier) |
static HashFloatSet |
HashFloatSets.newUpdatableSet(Consumer<FloatConsumer> elementsSupplier)
Constructs a new updatable set of elements consumed by the callback within the given closure.
|
HashFloatSet |
HashFloatSetFactory.newUpdatableSet(Consumer<FloatConsumer> elementsSupplier,
int expectedSize) |
static HashFloatSet |
HashFloatSets.newUpdatableSet(Consumer<FloatConsumer> elementsSupplier,
int expectedSize)
Constructs a new updatable set of elements consumed by the callback within the given closure.
|