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 |
CharCollection.forEach(CharConsumer action)
Performs the given action for each element of this collection until all elements have been
processed or the action throws an exception.
|
void |
CharCursor.forEachForward(CharConsumer 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 |
CharIterator.forEachRemaining(CharConsumer 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 |
---|---|
CharSet |
CharSetFactory.newImmutableSet(Consumer<CharConsumer> elementsSupplier)
Constructs a new immutable set of elements consumed by the callback within the given closure.
|
CharSet |
CharSetFactory.newImmutableSet(Consumer<CharConsumer> elementsSupplier,
int expectedSize)
Constructs a new immutable set of elements consumed by the callback within the given closure.
|
CharSet |
CharSetFactory.newMutableSet(Consumer<CharConsumer> elementsSupplier)
Constructs a new mutable set of elements consumed by the callback within the given closure.
|
CharSet |
CharSetFactory.newMutableSet(Consumer<CharConsumer> elementsSupplier,
int expectedSize)
Constructs a new mutable set of elements consumed by the callback within the given closure.
|
CharSet |
CharSetFactory.newUpdatableSet(Consumer<CharConsumer> elementsSupplier)
Constructs a new updatable set of elements consumed by the callback within the given closure.
|
CharSet |
CharSetFactory.newUpdatableSet(Consumer<CharConsumer> elementsSupplier,
int expectedSize)
Constructs a new updatable set of elements consumed by the callback within the given closure.
|
Modifier and Type | Method and Description |
---|---|
HashCharSet |
HashCharSetFactory.newImmutableSet(Consumer<CharConsumer> elementsSupplier) |
static HashCharSet |
HashCharSets.newImmutableSet(Consumer<CharConsumer> elementsSupplier)
Constructs a new immutable set of elements consumed by the callback within the given closure.
|
HashCharSet |
HashCharSetFactory.newImmutableSet(Consumer<CharConsumer> elementsSupplier,
int expectedSize) |
static HashCharSet |
HashCharSets.newImmutableSet(Consumer<CharConsumer> elementsSupplier,
int expectedSize)
Constructs a new immutable set of elements consumed by the callback within the given closure.
|
HashCharSet |
HashCharSetFactory.newMutableSet(Consumer<CharConsumer> elementsSupplier) |
static HashCharSet |
HashCharSets.newMutableSet(Consumer<CharConsumer> elementsSupplier)
Constructs a new mutable set of elements consumed by the callback within the given closure.
|
HashCharSet |
HashCharSetFactory.newMutableSet(Consumer<CharConsumer> elementsSupplier,
int expectedSize) |
static HashCharSet |
HashCharSets.newMutableSet(Consumer<CharConsumer> elementsSupplier,
int expectedSize)
Constructs a new mutable set of elements consumed by the callback within the given closure.
|
HashCharSet |
HashCharSetFactory.newUpdatableSet(Consumer<CharConsumer> elementsSupplier) |
static HashCharSet |
HashCharSets.newUpdatableSet(Consumer<CharConsumer> elementsSupplier)
Constructs a new updatable set of elements consumed by the callback within the given closure.
|
HashCharSet |
HashCharSetFactory.newUpdatableSet(Consumer<CharConsumer> elementsSupplier,
int expectedSize) |
static HashCharSet |
HashCharSets.newUpdatableSet(Consumer<CharConsumer> elementsSupplier,
int expectedSize)
Constructs a new updatable set of elements consumed by the callback within the given closure.
|