Package | Description |
---|---|
com.koloboke.collect.map.hash |
Contains interfaces of
Map specializations, based on hash tables,
their factories and static factory methods. |
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 |
---|---|
static <E> HashObjSet<E> |
HashObjSets.newImmutableSet(Consumer<Consumer<E>> elementsSupplier)
Constructs a new immutable set of elements consumed by the callback within the given closure.
|
static <E> HashObjSet<E> |
HashObjSets.newImmutableSet(Consumer<Consumer<E>> elementsSupplier,
int expectedSize)
Constructs a new immutable set of elements consumed by the callback within the given closure.
|
<E2 extends E> |
HashObjSetFactory.newImmutableSet(Consumer<Consumer<E2>> elementsSupplier) |
<E2 extends E> |
HashObjSetFactory.newImmutableSet(Consumer<Consumer<E2>> elementsSupplier,
int expectedSize) |
static <E> HashObjSet<E> |
HashObjSets.newImmutableSet(E[] elements)
Constructs a new immutable set of elements from the given array.
|
static <E> HashObjSet<E> |
HashObjSets.newImmutableSet(E[] elements,
int expectedSize)
Constructs a new immutable set of elements from the given array.
|
<E2 extends E> |
HashObjSetFactory.newImmutableSet(E2[] elements) |
<E2 extends E> |
HashObjSetFactory.newImmutableSet(E2[] elements,
int expectedSize) |
static <E> HashObjSet<E> |
HashObjSets.newImmutableSet(Iterable<? extends E> elements)
Constructs a new immutable set containing the elements in the specified iterable.
|
static <E> HashObjSet<E> |
HashObjSets.newImmutableSet(Iterable<? extends E> elements,
int expectedSize)
Constructs a new immutable set containing the elements in the specified iterable.
|
static <E> HashObjSet<E> |
HashObjSets.newImmutableSet(Iterable<? extends E> elems1,
Iterable<? extends E> elems2)
Constructs a new immutable set which merge the elements of the specified iterables.
|
static <E> HashObjSet<E> |
HashObjSets.newImmutableSet(Iterable<? extends E> elems1,
Iterable<? extends E> elems2,
int expectedSize)
Constructs a new immutable set which merge the elements of the specified iterables.
|
static <E> HashObjSet<E> |
HashObjSets.newImmutableSet(Iterable<? extends E> elems1,
Iterable<? extends E> elems2,
Iterable<? extends E> elems3)
Constructs a new immutable set which merge the elements of the specified iterables.
|
static <E> HashObjSet<E> |
HashObjSets.newImmutableSet(Iterable<? extends E> elems1,
Iterable<? extends E> elems2,
Iterable<? extends E> elems3,
int expectedSize)
Constructs a new immutable set which merge the elements of the specified iterables.
|
static <E> HashObjSet<E> |
HashObjSets.newImmutableSet(Iterable<? extends E> elems1,
Iterable<? extends E> elems2,
Iterable<? extends E> elems3,
Iterable<? extends E> elems4)
Constructs a new immutable set which merge the elements of the specified iterables.
|
static <E> HashObjSet<E> |
HashObjSets.newImmutableSet(Iterable<? extends E> elems1,
Iterable<? extends E> elems2,
Iterable<? extends E> elems3,
Iterable<? extends E> elems4,
int expectedSize)
Constructs a new immutable set which merge the elements of the specified iterables.
|
static <E> HashObjSet<E> |
HashObjSets.newImmutableSet(Iterable<? extends E> elems1,
Iterable<? extends E> elems2,
Iterable<? extends E> elems3,
Iterable<? extends E> elems4,
Iterable<? extends E> elems5)
Constructs a new immutable set which merge the elements of the specified iterables.
|
static <E> HashObjSet<E> |
HashObjSets.newImmutableSet(Iterable<? extends E> elems1,
Iterable<? extends E> elems2,
Iterable<? extends E> elems3,
Iterable<? extends E> elems4,
Iterable<? extends E> elems5,
int expectedSize)
Constructs a new immutable set which merge the elements of the specified iterables.
|
<E2 extends E> |
HashObjSetFactory.newImmutableSet(Iterable<? extends E2> elements) |
<E2 extends E> |
HashObjSetFactory.newImmutableSet(Iterable<? extends E2> elements,
int expectedSize) |
<E2 extends E> |
HashObjSetFactory.newImmutableSet(Iterable<? extends E2> elems1,
Iterable<? extends E2> elems2) |
<E2 extends E> |
HashObjSetFactory.newImmutableSet(Iterable<? extends E2> elems1,
Iterable<? extends E2> elems2,
int expectedSize) |
<E2 extends E> |
HashObjSetFactory.newImmutableSet(Iterable<? extends E2> elems1,
Iterable<? extends E2> elems2,
Iterable<? extends E2> elems3) |
<E2 extends E> |
HashObjSetFactory.newImmutableSet(Iterable<? extends E2> elems1,
Iterable<? extends E2> elems2,
Iterable<? extends E2> elems3,
int expectedSize) |
<E2 extends E> |
HashObjSetFactory.newImmutableSet(Iterable<? extends E2> elems1,
Iterable<? extends E2> elems2,
Iterable<? extends E2> elems3,
Iterable<? extends E2> elems4) |
<E2 extends E> |
HashObjSetFactory.newImmutableSet(Iterable<? extends E2> elems1,
Iterable<? extends E2> elems2,
Iterable<? extends E2> elems3,
Iterable<? extends E2> elems4,
int expectedSize) |
<E2 extends E> |
HashObjSetFactory.newImmutableSet(Iterable<? extends E2> elems1,
Iterable<? extends E2> elems2,
Iterable<? extends E2> elems3,
Iterable<? extends E2> elems4,
Iterable<? extends E2> elems5) |
<E2 extends E> |
HashObjSetFactory.newImmutableSet(Iterable<? extends E2> elems1,
Iterable<? extends E2> elems2,
Iterable<? extends E2> elems3,
Iterable<? extends E2> elems4,
Iterable<? extends E2> elems5,
int expectedSize) |
static <E> HashObjSet<E> |
HashObjSets.newImmutableSet(Iterator<? extends E> elements)
Constructs a new immutable set containing the elements traversed by the specified iterator.
|
static <E> HashObjSet<E> |
HashObjSets.newImmutableSet(Iterator<? extends E> elements,
int expectedSize)
Constructs a new immutable set containing the elements traversed by the specified iterator.
|
<E2 extends E> |
HashObjSetFactory.newImmutableSet(Iterator<? extends E2> elements) |
<E2 extends E> |
HashObjSetFactory.newImmutableSet(Iterator<? extends E2> elements,
int expectedSize) |
static <E> HashObjSet<E> |
HashObjSets.newImmutableSetOf(E e1)
Constructs a new immutable singleton set of the given element.
|
<E2 extends E> |
HashObjSetFactory.newImmutableSetOf(E2 e1) |
<E2 extends E> |
HashObjSetFactory.newImmutableSetOf(E2 e1,
E2 e2) |
<E2 extends E> |
HashObjSetFactory.newImmutableSetOf(E2 e1,
E2 e2,
E2 e3) |
<E2 extends E> |
HashObjSetFactory.newImmutableSetOf(E2 e1,
E2 e2,
E2 e3,
E2 e4) |
<E2 extends E> |
HashObjSetFactory.newImmutableSetOf(E2 e1,
E2 e2,
E2 e3,
E2 e4,
E2 e5,
E2... restElements) |
static <E> HashObjSet<E> |
HashObjSets.newImmutableSetOf(E e1,
E e2)
Constructs a new immutable set of the two specified elements.
|
static <E> HashObjSet<E> |
HashObjSets.newImmutableSetOf(E e1,
E e2,
E e3)
Constructs a new immutable set of the three specified elements.
|
static <E> HashObjSet<E> |
HashObjSets.newImmutableSetOf(E e1,
E e2,
E e3,
E e4)
Constructs a new immutable set of the four specified elements.
|
static <E> HashObjSet<E> |
HashObjSets.newImmutableSetOf(E e1,
E e2,
E e3,
E e4,
E e5,
E... restElements)
Constructs a new immutable set of the specified elements.
|
static <E> HashObjSet<E> |
HashObjSets.newMutableSet()
Constructs a new empty mutable set of the default expected size.
|
<E2 extends E> |
HashObjSetFactory.newMutableSet() |
static <E> HashObjSet<E> |
HashObjSets.newMutableSet(Consumer<Consumer<E>> elementsSupplier)
Constructs a new mutable set of elements consumed by the callback within the given closure.
|
static <E> HashObjSet<E> |
HashObjSets.newMutableSet(Consumer<Consumer<E>> elementsSupplier,
int expectedSize)
Constructs a new mutable set of elements consumed by the callback within the given closure.
|
<E2 extends E> |
HashObjSetFactory.newMutableSet(Consumer<Consumer<E2>> elementsSupplier) |
<E2 extends E> |
HashObjSetFactory.newMutableSet(Consumer<Consumer<E2>> elementsSupplier,
int expectedSize) |
static <E> HashObjSet<E> |
HashObjSets.newMutableSet(E[] elements)
Constructs a new mutable set of elements from the given array.
|
static <E> HashObjSet<E> |
HashObjSets.newMutableSet(E[] elements,
int expectedSize)
Constructs a new mutable set of elements from the given array.
|
<E2 extends E> |
HashObjSetFactory.newMutableSet(E2[] elements) |
<E2 extends E> |
HashObjSetFactory.newMutableSet(E2[] elements,
int expectedSize) |
static <E> HashObjSet<E> |
HashObjSets.newMutableSet(int expectedSize)
Constructs a new empty mutable set of the given expected size.
|
<E2 extends E> |
HashObjSetFactory.newMutableSet(int expectedSize) |
static <E> HashObjSet<E> |
HashObjSets.newMutableSet(Iterable<? extends E> elements)
Constructs a new mutable set containing the elements in the specified iterable.
|
static <E> HashObjSet<E> |
HashObjSets.newMutableSet(Iterable<? extends E> elements,
int expectedSize)
Constructs a new mutable set containing the elements in the specified iterable.
|
static <E> HashObjSet<E> |
HashObjSets.newMutableSet(Iterable<? extends E> elems1,
Iterable<? extends E> elems2)
Constructs a new mutable set which merge the elements of the specified iterables.
|
static <E> HashObjSet<E> |
HashObjSets.newMutableSet(Iterable<? extends E> elems1,
Iterable<? extends E> elems2,
int expectedSize)
Constructs a new mutable set which merge the elements of the specified iterables.
|
static <E> HashObjSet<E> |
HashObjSets.newMutableSet(Iterable<? extends E> elems1,
Iterable<? extends E> elems2,
Iterable<? extends E> elems3)
Constructs a new mutable set which merge the elements of the specified iterables.
|
static <E> HashObjSet<E> |
HashObjSets.newMutableSet(Iterable<? extends E> elems1,
Iterable<? extends E> elems2,
Iterable<? extends E> elems3,
int expectedSize)
Constructs a new mutable set which merge the elements of the specified iterables.
|
static <E> HashObjSet<E> |
HashObjSets.newMutableSet(Iterable<? extends E> elems1,
Iterable<? extends E> elems2,
Iterable<? extends E> elems3,
Iterable<? extends E> elems4)
Constructs a new mutable set which merge the elements of the specified iterables.
|
static <E> HashObjSet<E> |
HashObjSets.newMutableSet(Iterable<? extends E> elems1,
Iterable<? extends E> elems2,
Iterable<? extends E> elems3,
Iterable<? extends E> elems4,
int expectedSize)
Constructs a new mutable set which merge the elements of the specified iterables.
|
static <E> HashObjSet<E> |
HashObjSets.newMutableSet(Iterable<? extends E> elems1,
Iterable<? extends E> elems2,
Iterable<? extends E> elems3,
Iterable<? extends E> elems4,
Iterable<? extends E> elems5)
Constructs a new mutable set which merge the elements of the specified iterables.
|
static <E> HashObjSet<E> |
HashObjSets.newMutableSet(Iterable<? extends E> elems1,
Iterable<? extends E> elems2,
Iterable<? extends E> elems3,
Iterable<? extends E> elems4,
Iterable<? extends E> elems5,
int expectedSize)
Constructs a new mutable set which merge the elements of the specified iterables.
|
<E2 extends E> |
HashObjSetFactory.newMutableSet(Iterable<? extends E2> elements) |
<E2 extends E> |
HashObjSetFactory.newMutableSet(Iterable<? extends E2> elements,
int expectedSize) |
<E2 extends E> |
HashObjSetFactory.newMutableSet(Iterable<? extends E2> elems1,
Iterable<? extends E2> elems2) |
<E2 extends E> |
HashObjSetFactory.newMutableSet(Iterable<? extends E2> elems1,
Iterable<? extends E2> elems2,
int expectedSize) |
<E2 extends E> |
HashObjSetFactory.newMutableSet(Iterable<? extends E2> elems1,
Iterable<? extends E2> elems2,
Iterable<? extends E2> elems3) |
<E2 extends E> |
HashObjSetFactory.newMutableSet(Iterable<? extends E2> elems1,
Iterable<? extends E2> elems2,
Iterable<? extends E2> elems3,
int expectedSize) |
<E2 extends E> |
HashObjSetFactory.newMutableSet(Iterable<? extends E2> elems1,
Iterable<? extends E2> elems2,
Iterable<? extends E2> elems3,
Iterable<? extends E2> elems4) |
<E2 extends E> |
HashObjSetFactory.newMutableSet(Iterable<? extends E2> elems1,
Iterable<? extends E2> elems2,
Iterable<? extends E2> elems3,
Iterable<? extends E2> elems4,
int expectedSize) |
<E2 extends E> |
HashObjSetFactory.newMutableSet(Iterable<? extends E2> elems1,
Iterable<? extends E2> elems2,
Iterable<? extends E2> elems3,
Iterable<? extends E2> elems4,
Iterable<? extends E2> elems5) |
<E2 extends E> |
HashObjSetFactory.newMutableSet(Iterable<? extends E2> elems1,
Iterable<? extends E2> elems2,
Iterable<? extends E2> elems3,
Iterable<? extends E2> elems4,
Iterable<? extends E2> elems5,
int expectedSize) |
static <E> HashObjSet<E> |
HashObjSets.newMutableSet(Iterator<? extends E> elements)
Constructs a new mutable set containing the elements traversed by the specified iterator.
|
static <E> HashObjSet<E> |
HashObjSets.newMutableSet(Iterator<? extends E> elements,
int expectedSize)
Constructs a new mutable set containing the elements traversed by the specified iterator.
|
<E2 extends E> |
HashObjSetFactory.newMutableSet(Iterator<? extends E2> elements) |
<E2 extends E> |
HashObjSetFactory.newMutableSet(Iterator<? extends E2> elements,
int expectedSize) |
static <E> HashObjSet<E> |
HashObjSets.newMutableSetOf(E e1)
Constructs a new mutable singleton set of the given element.
|
<E2 extends E> |
HashObjSetFactory.newMutableSetOf(E2 e1) |
<E2 extends E> |
HashObjSetFactory.newMutableSetOf(E2 e1,
E2 e2) |
<E2 extends E> |
HashObjSetFactory.newMutableSetOf(E2 e1,
E2 e2,
E2 e3) |
<E2 extends E> |
HashObjSetFactory.newMutableSetOf(E2 e1,
E2 e2,
E2 e3,
E2 e4) |
<E2 extends E> |
HashObjSetFactory.newMutableSetOf(E2 e1,
E2 e2,
E2 e3,
E2 e4,
E2 e5,
E2... restElements) |
static <E> HashObjSet<E> |
HashObjSets.newMutableSetOf(E e1,
E e2)
Constructs a new mutable set of the two specified elements.
|
static <E> HashObjSet<E> |
HashObjSets.newMutableSetOf(E e1,
E e2,
E e3)
Constructs a new mutable set of the three specified elements.
|
static <E> HashObjSet<E> |
HashObjSets.newMutableSetOf(E e1,
E e2,
E e3,
E e4)
Constructs a new mutable set of the four specified elements.
|
static <E> HashObjSet<E> |
HashObjSets.newMutableSetOf(E e1,
E e2,
E e3,
E e4,
E e5,
E... restElements)
Constructs a new mutable set of the specified elements.
|
static <E> HashObjSet<E> |
HashObjSets.newUpdatableSet()
Constructs a new empty updatable set of the default expected size.
|
<E2 extends E> |
HashObjSetFactory.newUpdatableSet() |
static <E> HashObjSet<E> |
HashObjSets.newUpdatableSet(Consumer<Consumer<E>> elementsSupplier)
Constructs a new updatable set of elements consumed by the callback within the given closure.
|
static <E> HashObjSet<E> |
HashObjSets.newUpdatableSet(Consumer<Consumer<E>> elementsSupplier,
int expectedSize)
Constructs a new updatable set of elements consumed by the callback within the given closure.
|
<E2 extends E> |
HashObjSetFactory.newUpdatableSet(Consumer<Consumer<E2>> elementsSupplier) |
<E2 extends E> |
HashObjSetFactory.newUpdatableSet(Consumer<Consumer<E2>> elementsSupplier,
int expectedSize) |
static <E> HashObjSet<E> |
HashObjSets.newUpdatableSet(E[] elements)
Constructs a new updatable set of elements from the given array.
|
static <E> HashObjSet<E> |
HashObjSets.newUpdatableSet(E[] elements,
int expectedSize)
Constructs a new updatable set of elements from the given array.
|
<E2 extends E> |
HashObjSetFactory.newUpdatableSet(E2[] elements) |
<E2 extends E> |
HashObjSetFactory.newUpdatableSet(E2[] elements,
int expectedSize) |
static <E> HashObjSet<E> |
HashObjSets.newUpdatableSet(int expectedSize)
Constructs a new empty updatable set of the given expected size.
|
<E2 extends E> |
HashObjSetFactory.newUpdatableSet(int expectedSize) |
static <E> HashObjSet<E> |
HashObjSets.newUpdatableSet(Iterable<? extends E> elements)
Constructs a new updatable set containing the elements in the specified iterable.
|
static <E> HashObjSet<E> |
HashObjSets.newUpdatableSet(Iterable<? extends E> elements,
int expectedSize)
Constructs a new updatable set containing the elements in the specified iterable.
|
static <E> HashObjSet<E> |
HashObjSets.newUpdatableSet(Iterable<? extends E> elems1,
Iterable<? extends E> elems2)
Constructs a new updatable set which merge the elements of the specified iterables.
|
static <E> HashObjSet<E> |
HashObjSets.newUpdatableSet(Iterable<? extends E> elems1,
Iterable<? extends E> elems2,
int expectedSize)
Constructs a new updatable set which merge the elements of the specified iterables.
|
static <E> HashObjSet<E> |
HashObjSets.newUpdatableSet(Iterable<? extends E> elems1,
Iterable<? extends E> elems2,
Iterable<? extends E> elems3)
Constructs a new updatable set which merge the elements of the specified iterables.
|
static <E> HashObjSet<E> |
HashObjSets.newUpdatableSet(Iterable<? extends E> elems1,
Iterable<? extends E> elems2,
Iterable<? extends E> elems3,
int expectedSize)
Constructs a new updatable set which merge the elements of the specified iterables.
|
static <E> HashObjSet<E> |
HashObjSets.newUpdatableSet(Iterable<? extends E> elems1,
Iterable<? extends E> elems2,
Iterable<? extends E> elems3,
Iterable<? extends E> elems4)
Constructs a new updatable set which merge the elements of the specified iterables.
|
static <E> HashObjSet<E> |
HashObjSets.newUpdatableSet(Iterable<? extends E> elems1,
Iterable<? extends E> elems2,
Iterable<? extends E> elems3,
Iterable<? extends E> elems4,
int expectedSize)
Constructs a new updatable set which merge the elements of the specified iterables.
|
static <E> HashObjSet<E> |
HashObjSets.newUpdatableSet(Iterable<? extends E> elems1,
Iterable<? extends E> elems2,
Iterable<? extends E> elems3,
Iterable<? extends E> elems4,
Iterable<? extends E> elems5)
Constructs a new updatable set which merge the elements of the specified iterables.
|
static <E> HashObjSet<E> |
HashObjSets.newUpdatableSet(Iterable<? extends E> elems1,
Iterable<? extends E> elems2,
Iterable<? extends E> elems3,
Iterable<? extends E> elems4,
Iterable<? extends E> elems5,
int expectedSize)
Constructs a new updatable set which merge the elements of the specified iterables.
|
<E2 extends E> |
HashObjSetFactory.newUpdatableSet(Iterable<? extends E2> elements) |
<E2 extends E> |
HashObjSetFactory.newUpdatableSet(Iterable<? extends E2> elements,
int expectedSize) |
<E2 extends E> |
HashObjSetFactory.newUpdatableSet(Iterable<? extends E2> elems1,
Iterable<? extends E2> elems2) |
<E2 extends E> |
HashObjSetFactory.newUpdatableSet(Iterable<? extends E2> elems1,
Iterable<? extends E2> elems2,
int expectedSize) |
<E2 extends E> |
HashObjSetFactory.newUpdatableSet(Iterable<? extends E2> elems1,
Iterable<? extends E2> elems2,
Iterable<? extends E2> elems3) |
<E2 extends E> |
HashObjSetFactory.newUpdatableSet(Iterable<? extends E2> elems1,
Iterable<? extends E2> elems2,
Iterable<? extends E2> elems3,
int expectedSize) |
<E2 extends E> |
HashObjSetFactory.newUpdatableSet(Iterable<? extends E2> elems1,
Iterable<? extends E2> elems2,
Iterable<? extends E2> elems3,
Iterable<? extends E2> elems4) |
<E2 extends E> |
HashObjSetFactory.newUpdatableSet(Iterable<? extends E2> elems1,
Iterable<? extends E2> elems2,
Iterable<? extends E2> elems3,
Iterable<? extends E2> elems4,
int expectedSize) |
<E2 extends E> |
HashObjSetFactory.newUpdatableSet(Iterable<? extends E2> elems1,
Iterable<? extends E2> elems2,
Iterable<? extends E2> elems3,
Iterable<? extends E2> elems4,
Iterable<? extends E2> elems5) |
<E2 extends E> |
HashObjSetFactory.newUpdatableSet(Iterable<? extends E2> elems1,
Iterable<? extends E2> elems2,
Iterable<? extends E2> elems3,
Iterable<? extends E2> elems4,
Iterable<? extends E2> elems5,
int expectedSize) |
static <E> HashObjSet<E> |
HashObjSets.newUpdatableSet(Iterator<? extends E> elements)
Constructs a new updatable set containing the elements traversed by the specified iterator.
|
static <E> HashObjSet<E> |
HashObjSets.newUpdatableSet(Iterator<? extends E> elements,
int expectedSize)
Constructs a new updatable set containing the elements traversed by the specified iterator.
|
<E2 extends E> |
HashObjSetFactory.newUpdatableSet(Iterator<? extends E2> elements) |
<E2 extends E> |
HashObjSetFactory.newUpdatableSet(Iterator<? extends E2> elements,
int expectedSize) |
static <E> HashObjSet<E> |
HashObjSets.newUpdatableSetOf(E e1)
Constructs a new updatable singleton set of the given element.
|
<E2 extends E> |
HashObjSetFactory.newUpdatableSetOf(E2 e1) |
<E2 extends E> |
HashObjSetFactory.newUpdatableSetOf(E2 e1,
E2 e2) |
<E2 extends E> |
HashObjSetFactory.newUpdatableSetOf(E2 e1,
E2 e2,
E2 e3) |
<E2 extends E> |
HashObjSetFactory.newUpdatableSetOf(E2 e1,
E2 e2,
E2 e3,
E2 e4) |
<E2 extends E> |
HashObjSetFactory.newUpdatableSetOf(E2 e1,
E2 e2,
E2 e3,
E2 e4,
E2 e5,
E2... restElements) |
static <E> HashObjSet<E> |
HashObjSets.newUpdatableSetOf(E e1,
E e2)
Constructs a new updatable set of the two specified elements.
|
static <E> HashObjSet<E> |
HashObjSets.newUpdatableSetOf(E e1,
E e2,
E e3)
Constructs a new updatable set of the three specified elements.
|
static <E> HashObjSet<E> |
HashObjSets.newUpdatableSetOf(E e1,
E e2,
E e3,
E e4)
Constructs a new updatable set of the four specified elements.
|
static <E> HashObjSet<E> |
HashObjSets.newUpdatableSetOf(E e1,
E e2,
E e3,
E e4,
E e5,
E... restElements)
Constructs a new updatable set of the specified elements.
|