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