public interface HashLongSetFactory extends LongSetFactory<HashLongSetFactory>, LongHashFactory<HashLongSetFactory>
HashLongSets.| Modifier and Type | Method and Description |
|---|---|
HashLongSet |
newImmutableSet(Consumer<LongConsumer> elementsSupplier)
Constructs a new immutable set of elements consumed by the callback within the given closure.
|
HashLongSet |
newImmutableSet(Consumer<LongConsumer> elementsSupplier,
int expectedSize)
Constructs a new immutable set of elements consumed by the callback within the given closure.
|
HashLongSet |
newImmutableSet(Iterable<Long> elements)
Constructs a new immutable set containing the elements in the specified iterable.
|
HashLongSet |
newImmutableSet(Iterable<Long> elements,
int expectedSize)
Constructs a new immutable set containing the elements in the specified iterable.
|
HashLongSet |
newImmutableSet(Iterable<Long> elems1,
Iterable<Long> elems2)
Constructs a new immutable set which merge the elements of the specified iterables.
|
HashLongSet |
newImmutableSet(Iterable<Long> elems1,
Iterable<Long> elems2,
int expectedSize)
Constructs a new immutable set which merge the elements of the specified iterables.
|
HashLongSet |
newImmutableSet(Iterable<Long> elems1,
Iterable<Long> elems2,
Iterable<Long> elems3)
Constructs a new immutable set which merge the elements of the specified iterables.
|
HashLongSet |
newImmutableSet(Iterable<Long> elems1,
Iterable<Long> elems2,
Iterable<Long> elems3,
int expectedSize)
Constructs a new immutable set which merge the elements of the specified iterables.
|
HashLongSet |
newImmutableSet(Iterable<Long> elems1,
Iterable<Long> elems2,
Iterable<Long> elems3,
Iterable<Long> elems4)
Constructs a new immutable set which merge the elements of the specified iterables.
|
HashLongSet |
newImmutableSet(Iterable<Long> elems1,
Iterable<Long> elems2,
Iterable<Long> elems3,
Iterable<Long> elems4,
int expectedSize)
Constructs a new immutable set which merge the elements of the specified iterables.
|
HashLongSet |
newImmutableSet(Iterable<Long> elems1,
Iterable<Long> elems2,
Iterable<Long> elems3,
Iterable<Long> elems4,
Iterable<Long> elems5)
Constructs a new immutable set which merge the elements of the specified iterables.
|
HashLongSet |
newImmutableSet(Iterable<Long> elems1,
Iterable<Long> elems2,
Iterable<Long> elems3,
Iterable<Long> elems4,
Iterable<Long> elems5,
int expectedSize)
Constructs a new immutable set which merge the elements of the specified iterables.
|
HashLongSet |
newImmutableSet(Iterator<Long> elements)
Constructs a new immutable set containing the elements traversed by the specified iterator.
|
HashLongSet |
newImmutableSet(Iterator<Long> elements,
int expectedSize)
Constructs a new immutable set containing the elements traversed by the specified iterator.
|
HashLongSet |
newImmutableSet(long[] elements)
Constructs a new immutable set of elements from the given array.
|
HashLongSet |
newImmutableSet(Long[] elements)
Constructs a new immutable set of elements from the given array.
|
HashLongSet |
newImmutableSet(long[] elements,
int expectedSize)
Constructs a new immutable set of elements from the given array.
|
HashLongSet |
newImmutableSet(Long[] elements,
int expectedSize)
Constructs a new immutable set of elements from the given array.
|
HashLongSet |
newImmutableSetOf(long e1)
Constructs a new immutable singleton set of the given element.
|
HashLongSet |
newImmutableSetOf(long e1,
long e2)
Constructs a new immutable set of the two specified elements.
|
HashLongSet |
newImmutableSetOf(long e1,
long e2,
long e3)
Constructs a new immutable set of the three specified elements.
|
HashLongSet |
newImmutableSetOf(long e1,
long e2,
long e3,
long e4)
Constructs a new immutable set of the four specified elements.
|
HashLongSet |
newImmutableSetOf(long e1,
long e2,
long e3,
long e4,
long e5,
long... restElements)
Constructs a new immutable set of the specified elements.
|
HashLongSet |
newMutableSet()
Constructs a new empty mutable set of the default
expected size.
|
HashLongSet |
newMutableSet(Consumer<LongConsumer> elementsSupplier)
Constructs a new mutable set of elements consumed by the callback within the given closure.
|
HashLongSet |
newMutableSet(Consumer<LongConsumer> elementsSupplier,
int expectedSize)
Constructs a new mutable set of elements consumed by the callback within the given closure.
|
HashLongSet |
newMutableSet(int expectedSize)
Constructs a new empty mutable set of the given expected size.
|
HashLongSet |
newMutableSet(Iterable<Long> elements)
Constructs a new mutable set containing the elements in the specified iterable.
|
HashLongSet |
newMutableSet(Iterable<Long> elements,
int expectedSize)
Constructs a new mutable set containing the elements in the specified iterable.
|
HashLongSet |
newMutableSet(Iterable<Long> elems1,
Iterable<Long> elems2)
Constructs a new mutable set which merge the elements of the specified iterables.
|
HashLongSet |
newMutableSet(Iterable<Long> elems1,
Iterable<Long> elems2,
int expectedSize)
Constructs a new mutable set which merge the elements of the specified iterables.
|
HashLongSet |
newMutableSet(Iterable<Long> elems1,
Iterable<Long> elems2,
Iterable<Long> elems3)
Constructs a new mutable set which merge the elements of the specified iterables.
|
HashLongSet |
newMutableSet(Iterable<Long> elems1,
Iterable<Long> elems2,
Iterable<Long> elems3,
int expectedSize)
Constructs a new mutable set which merge the elements of the specified iterables.
|
HashLongSet |
newMutableSet(Iterable<Long> elems1,
Iterable<Long> elems2,
Iterable<Long> elems3,
Iterable<Long> elems4)
Constructs a new mutable set which merge the elements of the specified iterables.
|
HashLongSet |
newMutableSet(Iterable<Long> elems1,
Iterable<Long> elems2,
Iterable<Long> elems3,
Iterable<Long> elems4,
int expectedSize)
Constructs a new mutable set which merge the elements of the specified iterables.
|
HashLongSet |
newMutableSet(Iterable<Long> elems1,
Iterable<Long> elems2,
Iterable<Long> elems3,
Iterable<Long> elems4,
Iterable<Long> elems5)
Constructs a new mutable set which merge the elements of the specified iterables.
|
HashLongSet |
newMutableSet(Iterable<Long> elems1,
Iterable<Long> elems2,
Iterable<Long> elems3,
Iterable<Long> elems4,
Iterable<Long> elems5,
int expectedSize)
Constructs a new mutable set which merge the elements of the specified iterables.
|
HashLongSet |
newMutableSet(Iterator<Long> elements)
Constructs a new mutable set containing the elements traversed by the specified iterator.
|
HashLongSet |
newMutableSet(Iterator<Long> elements,
int expectedSize)
Constructs a new mutable set containing the elements traversed by the specified iterator.
|
HashLongSet |
newMutableSet(long[] elements)
Constructs a new mutable set of elements from the given array.
|
HashLongSet |
newMutableSet(Long[] elements)
Constructs a new mutable set of elements from the given array.
|
HashLongSet |
newMutableSet(long[] elements,
int expectedSize)
Constructs a new mutable set of elements from the given array.
|
HashLongSet |
newMutableSet(Long[] elements,
int expectedSize)
Constructs a new mutable set of elements from the given array.
|
HashLongSet |
newMutableSetOf(long e1)
Constructs a new mutable singleton set of the given element.
|
HashLongSet |
newMutableSetOf(long e1,
long e2)
Constructs a new mutable set of the two specified elements.
|
HashLongSet |
newMutableSetOf(long e1,
long e2,
long e3)
Constructs a new mutable set of the three specified elements.
|
HashLongSet |
newMutableSetOf(long e1,
long e2,
long e3,
long e4)
Constructs a new mutable set of the four specified elements.
|
HashLongSet |
newMutableSetOf(long e1,
long e2,
long e3,
long e4,
long e5,
long... restElements)
Constructs a new mutable set of the specified elements.
|
HashLongSet |
newUpdatableSet()
Constructs a new empty updatable set of the default
expected size.
|
HashLongSet |
newUpdatableSet(Consumer<LongConsumer> elementsSupplier)
Constructs a new updatable set of elements consumed by the callback within the given closure.
|
HashLongSet |
newUpdatableSet(Consumer<LongConsumer> elementsSupplier,
int expectedSize)
Constructs a new updatable set of elements consumed by the callback within the given closure.
|
HashLongSet |
newUpdatableSet(int expectedSize)
Constructs a new empty updatable set of the given expected size.
|
HashLongSet |
newUpdatableSet(Iterable<Long> elements)
Constructs a new updatable set containing the elements in the specified iterable.
|
HashLongSet |
newUpdatableSet(Iterable<Long> elements,
int expectedSize)
Constructs a new updatable set containing the elements in the specified iterable.
|
HashLongSet |
newUpdatableSet(Iterable<Long> elems1,
Iterable<Long> elems2)
Constructs a new updatable set which merge the elements of the specified iterables.
|
HashLongSet |
newUpdatableSet(Iterable<Long> elems1,
Iterable<Long> elems2,
int expectedSize)
Constructs a new updatable set which merge the elements of the specified iterables.
|
HashLongSet |
newUpdatableSet(Iterable<Long> elems1,
Iterable<Long> elems2,
Iterable<Long> elems3)
Constructs a new updatable set which merge the elements of the specified iterables.
|
HashLongSet |
newUpdatableSet(Iterable<Long> elems1,
Iterable<Long> elems2,
Iterable<Long> elems3,
int expectedSize)
Constructs a new updatable set which merge the elements of the specified iterables.
|
HashLongSet |
newUpdatableSet(Iterable<Long> elems1,
Iterable<Long> elems2,
Iterable<Long> elems3,
Iterable<Long> elems4)
Constructs a new updatable set which merge the elements of the specified iterables.
|
HashLongSet |
newUpdatableSet(Iterable<Long> elems1,
Iterable<Long> elems2,
Iterable<Long> elems3,
Iterable<Long> elems4,
int expectedSize)
Constructs a new updatable set which merge the elements of the specified iterables.
|
HashLongSet |
newUpdatableSet(Iterable<Long> elems1,
Iterable<Long> elems2,
Iterable<Long> elems3,
Iterable<Long> elems4,
Iterable<Long> elems5)
Constructs a new updatable set which merge the elements of the specified iterables.
|
HashLongSet |
newUpdatableSet(Iterable<Long> elems1,
Iterable<Long> elems2,
Iterable<Long> elems3,
Iterable<Long> elems4,
Iterable<Long> elems5,
int expectedSize)
Constructs a new updatable set which merge the elements of the specified iterables.
|
HashLongSet |
newUpdatableSet(Iterator<Long> elements)
Constructs a new updatable set containing the elements traversed by the specified iterator.
|
HashLongSet |
newUpdatableSet(Iterator<Long> elements,
int expectedSize)
Constructs a new updatable set containing the elements traversed by the specified iterator.
|
HashLongSet |
newUpdatableSet(long[] elements)
Constructs a new updatable set of elements from the given array.
|
HashLongSet |
newUpdatableSet(Long[] elements)
Constructs a new updatable set of elements from the given array.
|
HashLongSet |
newUpdatableSet(long[] elements,
int expectedSize)
Constructs a new updatable set of elements from the given array.
|
HashLongSet |
newUpdatableSet(Long[] elements,
int expectedSize)
Constructs a new updatable set of elements from the given array.
|
HashLongSet |
newUpdatableSetOf(long e1)
Constructs a new updatable singleton set of the given element.
|
HashLongSet |
newUpdatableSetOf(long e1,
long e2)
Constructs a new updatable set of the two specified elements.
|
HashLongSet |
newUpdatableSetOf(long e1,
long e2,
long e3)
Constructs a new updatable set of the three specified elements.
|
HashLongSet |
newUpdatableSetOf(long e1,
long e2,
long e3,
long e4)
Constructs a new updatable set of the four specified elements.
|
HashLongSet |
newUpdatableSetOf(long e1,
long e2,
long e3,
long e4,
long e5,
long... restElements)
Constructs a new updatable set of the specified elements.
|
getLowerKeyDomainBound, getUpperKeyDomainBound, withKeysDomain, withKeysDomainComplementgetHashConfig, withHashConfiggetDefaultExpectedSize, withDefaultExpectedSize@Nonnull HashLongSet newMutableSet()
LongSetFactorynewMutableSet in interface LongSetFactory<HashLongSetFactory>@Nonnull HashLongSet newMutableSet(int expectedSize)
LongSetFactorynewMutableSet in interface LongSetFactory<HashLongSetFactory>expectedSize - the expected size of the returned set@Nonnull HashLongSet newMutableSet(@Nonnull Iterable<Long> elements, int expectedSize)
LongSetFactoryIf the specified iterable is a Set
the expectedSize argument is ignored.
newMutableSet in interface LongSetFactory<HashLongSetFactory>elements - the iterable whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set@Nonnull HashLongSet newMutableSet(@Nonnull Iterable<Long> elems1, @Nonnull Iterable<Long> elems2, int expectedSize)
LongSetFactorynewMutableSet in interface LongSetFactory<HashLongSetFactory>elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setexpectedSize - the expected size of the returned set@Nonnull HashLongSet newMutableSet(@Nonnull Iterable<Long> elems1, @Nonnull Iterable<Long> elems2, @Nonnull Iterable<Long> elems3, int expectedSize)
LongSetFactorynewMutableSet in interface LongSetFactory<HashLongSetFactory>elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned setexpectedSize - the expected size of the returned set@Nonnull HashLongSet newMutableSet(@Nonnull Iterable<Long> elems1, @Nonnull Iterable<Long> elems2, @Nonnull Iterable<Long> elems3, @Nonnull Iterable<Long> elems4, int expectedSize)
LongSetFactorynewMutableSet in interface LongSetFactory<HashLongSetFactory>elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned setelems4 - the fourth source of elements for the returned setexpectedSize - the expected size of the returned set@Nonnull HashLongSet newMutableSet(@Nonnull Iterable<Long> elems1, @Nonnull Iterable<Long> elems2, @Nonnull Iterable<Long> elems3, @Nonnull Iterable<Long> elems4, @Nonnull Iterable<Long> elems5, int expectedSize)
LongSetFactorynewMutableSet in interface LongSetFactory<HashLongSetFactory>elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned setelems4 - the fourth source of elements for the returned setelems5 - the fifth source of elements for the returned setexpectedSize - the expected size of the returned set@Nonnull HashLongSet newMutableSet(@Nonnull Iterator<Long> elements, int expectedSize)
LongSetFactorynewMutableSet in interface LongSetFactory<HashLongSetFactory>elements - the iterator from which elements are to be placed into the returned setexpectedSize - the expected size of the returned set@Nonnull HashLongSet newMutableSet(@Nonnull Consumer<LongConsumer> elementsSupplier, int expectedSize)
LongSetFactoryExample: TODO
newMutableSet in interface LongSetFactory<HashLongSetFactory>elementsSupplier - the function which supply mappings for the returned set via
the callback passed inexpectedSize - the expected size of the returned set@Nonnull HashLongSet newMutableSet(@Nonnull long[] elements, int expectedSize)
LongSetFactorynewMutableSet in interface LongSetFactory<HashLongSetFactory>elements - the array whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set@Nonnull HashLongSet newMutableSet(@Nonnull Long[] elements, int expectedSize)
LongSetFactorynewMutableSet in interface LongSetFactory<HashLongSetFactory>elements - the array whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set@Nonnull HashLongSet newMutableSet(@Nonnull Iterable<Long> elements)
LongSetFactorynewMutableSet in interface LongSetFactory<HashLongSetFactory>elements - the iterable whose elements are to be placed into the returned set@Nonnull HashLongSet newMutableSet(@Nonnull Iterable<Long> elems1, @Nonnull Iterable<Long> elems2)
LongSetFactorynewMutableSet in interface LongSetFactory<HashLongSetFactory>elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned set@Nonnull HashLongSet newMutableSet(@Nonnull Iterable<Long> elems1, @Nonnull Iterable<Long> elems2, @Nonnull Iterable<Long> elems3)
LongSetFactorynewMutableSet in interface LongSetFactory<HashLongSetFactory>elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned set@Nonnull HashLongSet newMutableSet(@Nonnull Iterable<Long> elems1, @Nonnull Iterable<Long> elems2, @Nonnull Iterable<Long> elems3, @Nonnull Iterable<Long> elems4)
LongSetFactorynewMutableSet in interface LongSetFactory<HashLongSetFactory>elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned setelems4 - the fourth source of elements for the returned set@Nonnull HashLongSet newMutableSet(@Nonnull Iterable<Long> elems1, @Nonnull Iterable<Long> elems2, @Nonnull Iterable<Long> elems3, @Nonnull Iterable<Long> elems4, @Nonnull Iterable<Long> elems5)
LongSetFactorynewMutableSet in interface LongSetFactory<HashLongSetFactory>elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned setelems4 - the fourth source of elements for the returned setelems5 - the fifth source of elements for the returned set@Nonnull HashLongSet newMutableSet(@Nonnull Iterator<Long> elements)
LongSetFactorynewMutableSet in interface LongSetFactory<HashLongSetFactory>elements - the iterator from which elements are to be placed into the returned set@Nonnull HashLongSet newMutableSet(@Nonnull Consumer<LongConsumer> elementsSupplier)
LongSetFactoryExample: TODO
newMutableSet in interface LongSetFactory<HashLongSetFactory>elementsSupplier - the function which supply mappings for the returned set via
the callback passed in@Nonnull HashLongSet newMutableSet(@Nonnull long[] elements)
LongSetFactorynewMutableSet in interface LongSetFactory<HashLongSetFactory>elements - the array whose elements are to be placed into the returned set@Nonnull HashLongSet newMutableSet(@Nonnull Long[] elements)
LongSetFactorynewMutableSet in interface LongSetFactory<HashLongSetFactory>elements - the array whose elements are to be placed into the returned set@Nonnull HashLongSet newMutableSetOf(long e1)
LongSetFactorynewMutableSetOf in interface LongSetFactory<HashLongSetFactory>e1 - the sole element@Nonnull HashLongSet newMutableSetOf(long e1, long e2)
LongSetFactorynewMutableSetOf in interface LongSetFactory<HashLongSetFactory>e1 - the first elemente2 - the second element@Nonnull HashLongSet newMutableSetOf(long e1, long e2, long e3)
LongSetFactorynewMutableSetOf in interface LongSetFactory<HashLongSetFactory>e1 - the first elemente2 - the second elemente3 - the third element@Nonnull HashLongSet newMutableSetOf(long e1, long e2, long e3, long e4)
LongSetFactorynewMutableSetOf in interface LongSetFactory<HashLongSetFactory>e1 - the first elemente2 - the second elemente3 - the third elemente4 - the fourth element@Nonnull HashLongSet newMutableSetOf(long e1, long e2, long e3, long e4, long e5, long... restElements)
LongSetFactorynewMutableSetOf in interface LongSetFactory<HashLongSetFactory>e1 - the first elemente2 - the second elemente3 - the third elemente4 - the fourth elemente5 - the fifth elementrestElements - the rest elements to be placed into the set@Nonnull HashLongSet newUpdatableSet()
LongSetFactorynewUpdatableSet in interface LongSetFactory<HashLongSetFactory>@Nonnull HashLongSet newUpdatableSet(int expectedSize)
LongSetFactorynewUpdatableSet in interface LongSetFactory<HashLongSetFactory>expectedSize - the expected size of the returned set@Nonnull HashLongSet newUpdatableSet(@Nonnull Iterable<Long> elements, int expectedSize)
LongSetFactoryIf the specified iterable is a Set
the expectedSize argument is ignored.
newUpdatableSet in interface LongSetFactory<HashLongSetFactory>elements - the iterable whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set@Nonnull HashLongSet newUpdatableSet(@Nonnull Iterable<Long> elems1, @Nonnull Iterable<Long> elems2, int expectedSize)
LongSetFactorynewUpdatableSet in interface LongSetFactory<HashLongSetFactory>elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setexpectedSize - the expected size of the returned set@Nonnull HashLongSet newUpdatableSet(@Nonnull Iterable<Long> elems1, @Nonnull Iterable<Long> elems2, @Nonnull Iterable<Long> elems3, int expectedSize)
LongSetFactorynewUpdatableSet in interface LongSetFactory<HashLongSetFactory>elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned setexpectedSize - the expected size of the returned set@Nonnull HashLongSet newUpdatableSet(@Nonnull Iterable<Long> elems1, @Nonnull Iterable<Long> elems2, @Nonnull Iterable<Long> elems3, @Nonnull Iterable<Long> elems4, int expectedSize)
LongSetFactorynewUpdatableSet in interface LongSetFactory<HashLongSetFactory>elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned setelems4 - the fourth source of elements for the returned setexpectedSize - the expected size of the returned set@Nonnull HashLongSet newUpdatableSet(@Nonnull Iterable<Long> elems1, @Nonnull Iterable<Long> elems2, @Nonnull Iterable<Long> elems3, @Nonnull Iterable<Long> elems4, @Nonnull Iterable<Long> elems5, int expectedSize)
LongSetFactorynewUpdatableSet in interface LongSetFactory<HashLongSetFactory>elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned setelems4 - the fourth source of elements for the returned setelems5 - the fifth source of elements for the returned setexpectedSize - the expected size of the returned set@Nonnull HashLongSet newUpdatableSet(@Nonnull Iterator<Long> elements, int expectedSize)
LongSetFactorynewUpdatableSet in interface LongSetFactory<HashLongSetFactory>elements - the iterator from which elements are to be placed into the returned setexpectedSize - the expected size of the returned set@Nonnull HashLongSet newUpdatableSet(@Nonnull Consumer<LongConsumer> elementsSupplier, int expectedSize)
LongSetFactoryExample: TODO
newUpdatableSet in interface LongSetFactory<HashLongSetFactory>elementsSupplier - the function which supply mappings for the returned set via
the callback passed inexpectedSize - the expected size of the returned set@Nonnull HashLongSet newUpdatableSet(@Nonnull long[] elements, int expectedSize)
LongSetFactorynewUpdatableSet in interface LongSetFactory<HashLongSetFactory>elements - the array whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set@Nonnull HashLongSet newUpdatableSet(@Nonnull Long[] elements, int expectedSize)
LongSetFactorynewUpdatableSet in interface LongSetFactory<HashLongSetFactory>elements - the array whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set@Nonnull HashLongSet newUpdatableSet(@Nonnull Iterable<Long> elements)
LongSetFactorynewUpdatableSet in interface LongSetFactory<HashLongSetFactory>elements - the iterable whose elements are to be placed into the returned set@Nonnull HashLongSet newUpdatableSet(@Nonnull Iterable<Long> elems1, @Nonnull Iterable<Long> elems2)
LongSetFactorynewUpdatableSet in interface LongSetFactory<HashLongSetFactory>elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned set@Nonnull HashLongSet newUpdatableSet(@Nonnull Iterable<Long> elems1, @Nonnull Iterable<Long> elems2, @Nonnull Iterable<Long> elems3)
LongSetFactorynewUpdatableSet in interface LongSetFactory<HashLongSetFactory>elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned set@Nonnull HashLongSet newUpdatableSet(@Nonnull Iterable<Long> elems1, @Nonnull Iterable<Long> elems2, @Nonnull Iterable<Long> elems3, @Nonnull Iterable<Long> elems4)
LongSetFactorynewUpdatableSet in interface LongSetFactory<HashLongSetFactory>elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned setelems4 - the fourth source of elements for the returned set@Nonnull HashLongSet newUpdatableSet(@Nonnull Iterable<Long> elems1, @Nonnull Iterable<Long> elems2, @Nonnull Iterable<Long> elems3, @Nonnull Iterable<Long> elems4, @Nonnull Iterable<Long> elems5)
LongSetFactorynewUpdatableSet in interface LongSetFactory<HashLongSetFactory>elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned setelems4 - the fourth source of elements for the returned setelems5 - the fifth source of elements for the returned set@Nonnull HashLongSet newUpdatableSet(@Nonnull Iterator<Long> elements)
LongSetFactorynewUpdatableSet in interface LongSetFactory<HashLongSetFactory>elements - the iterator from which elements are to be placed into the returned set@Nonnull HashLongSet newUpdatableSet(@Nonnull Consumer<LongConsumer> elementsSupplier)
LongSetFactoryExample: TODO
newUpdatableSet in interface LongSetFactory<HashLongSetFactory>elementsSupplier - the function which supply mappings for the returned set via
the callback passed in@Nonnull HashLongSet newUpdatableSet(@Nonnull long[] elements)
LongSetFactorynewUpdatableSet in interface LongSetFactory<HashLongSetFactory>elements - the array whose elements are to be placed into the returned set@Nonnull HashLongSet newUpdatableSet(@Nonnull Long[] elements)
LongSetFactorynewUpdatableSet in interface LongSetFactory<HashLongSetFactory>elements - the array whose elements are to be placed into the returned set@Nonnull HashLongSet newUpdatableSetOf(long e1)
LongSetFactorynewUpdatableSetOf in interface LongSetFactory<HashLongSetFactory>e1 - the sole element@Nonnull HashLongSet newUpdatableSetOf(long e1, long e2)
LongSetFactorynewUpdatableSetOf in interface LongSetFactory<HashLongSetFactory>e1 - the first elemente2 - the second element@Nonnull HashLongSet newUpdatableSetOf(long e1, long e2, long e3)
LongSetFactorynewUpdatableSetOf in interface LongSetFactory<HashLongSetFactory>e1 - the first elemente2 - the second elemente3 - the third element@Nonnull HashLongSet newUpdatableSetOf(long e1, long e2, long e3, long e4)
LongSetFactorynewUpdatableSetOf in interface LongSetFactory<HashLongSetFactory>e1 - the first elemente2 - the second elemente3 - the third elemente4 - the fourth element@Nonnull HashLongSet newUpdatableSetOf(long e1, long e2, long e3, long e4, long e5, long... restElements)
LongSetFactorynewUpdatableSetOf in interface LongSetFactory<HashLongSetFactory>e1 - the first elemente2 - the second elemente3 - the third elemente4 - the fourth elemente5 - the fifth elementrestElements - the rest elements to be placed into the set@Nonnull HashLongSet newImmutableSet(@Nonnull Iterable<Long> elements, int expectedSize)
LongSetFactoryIf the specified iterable is a Set
the expectedSize argument is ignored.
newImmutableSet in interface LongSetFactory<HashLongSetFactory>elements - the iterable whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set@Nonnull HashLongSet newImmutableSet(@Nonnull Iterable<Long> elems1, @Nonnull Iterable<Long> elems2, int expectedSize)
LongSetFactorynewImmutableSet in interface LongSetFactory<HashLongSetFactory>elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setexpectedSize - the expected size of the returned set@Nonnull HashLongSet newImmutableSet(@Nonnull Iterable<Long> elems1, @Nonnull Iterable<Long> elems2, @Nonnull Iterable<Long> elems3, int expectedSize)
LongSetFactorynewImmutableSet in interface LongSetFactory<HashLongSetFactory>elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned setexpectedSize - the expected size of the returned set@Nonnull HashLongSet newImmutableSet(@Nonnull Iterable<Long> elems1, @Nonnull Iterable<Long> elems2, @Nonnull Iterable<Long> elems3, @Nonnull Iterable<Long> elems4, int expectedSize)
LongSetFactorynewImmutableSet in interface LongSetFactory<HashLongSetFactory>elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned setelems4 - the fourth source of elements for the returned setexpectedSize - the expected size of the returned set@Nonnull HashLongSet newImmutableSet(@Nonnull Iterable<Long> elems1, @Nonnull Iterable<Long> elems2, @Nonnull Iterable<Long> elems3, @Nonnull Iterable<Long> elems4, @Nonnull Iterable<Long> elems5, int expectedSize)
LongSetFactorynewImmutableSet in interface LongSetFactory<HashLongSetFactory>elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned setelems4 - the fourth source of elements for the returned setelems5 - the fifth source of elements for the returned setexpectedSize - the expected size of the returned set@Nonnull HashLongSet newImmutableSet(@Nonnull Iterator<Long> elements, int expectedSize)
LongSetFactorynewImmutableSet in interface LongSetFactory<HashLongSetFactory>elements - the iterator from which elements are to be placed into the returned setexpectedSize - the expected size of the returned set@Nonnull HashLongSet newImmutableSet(@Nonnull Consumer<LongConsumer> elementsSupplier, int expectedSize)
LongSetFactoryExample: TODO
newImmutableSet in interface LongSetFactory<HashLongSetFactory>elementsSupplier - the function which supply mappings for the returned set via
the callback passed inexpectedSize - the expected size of the returned set@Nonnull HashLongSet newImmutableSet(@Nonnull long[] elements, int expectedSize)
LongSetFactorynewImmutableSet in interface LongSetFactory<HashLongSetFactory>elements - the array whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set@Nonnull HashLongSet newImmutableSet(@Nonnull Long[] elements, int expectedSize)
LongSetFactorynewImmutableSet in interface LongSetFactory<HashLongSetFactory>elements - the array whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set@Nonnull HashLongSet newImmutableSet(@Nonnull Iterable<Long> elements)
LongSetFactorynewImmutableSet in interface LongSetFactory<HashLongSetFactory>elements - the iterable whose elements are to be placed into the returned set@Nonnull HashLongSet newImmutableSet(@Nonnull Iterable<Long> elems1, @Nonnull Iterable<Long> elems2)
LongSetFactorynewImmutableSet in interface LongSetFactory<HashLongSetFactory>elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned set@Nonnull HashLongSet newImmutableSet(@Nonnull Iterable<Long> elems1, @Nonnull Iterable<Long> elems2, @Nonnull Iterable<Long> elems3)
LongSetFactorynewImmutableSet in interface LongSetFactory<HashLongSetFactory>elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned set@Nonnull HashLongSet newImmutableSet(@Nonnull Iterable<Long> elems1, @Nonnull Iterable<Long> elems2, @Nonnull Iterable<Long> elems3, @Nonnull Iterable<Long> elems4)
LongSetFactorynewImmutableSet in interface LongSetFactory<HashLongSetFactory>elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned setelems4 - the fourth source of elements for the returned set@Nonnull HashLongSet newImmutableSet(@Nonnull Iterable<Long> elems1, @Nonnull Iterable<Long> elems2, @Nonnull Iterable<Long> elems3, @Nonnull Iterable<Long> elems4, @Nonnull Iterable<Long> elems5)
LongSetFactorynewImmutableSet in interface LongSetFactory<HashLongSetFactory>elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned setelems4 - the fourth source of elements for the returned setelems5 - the fifth source of elements for the returned set@Nonnull HashLongSet newImmutableSet(@Nonnull Iterator<Long> elements)
LongSetFactorynewImmutableSet in interface LongSetFactory<HashLongSetFactory>elements - the iterator from which elements are to be placed into the returned set@Nonnull HashLongSet newImmutableSet(@Nonnull Consumer<LongConsumer> elementsSupplier)
LongSetFactoryExample: TODO
newImmutableSet in interface LongSetFactory<HashLongSetFactory>elementsSupplier - the function which supply mappings for the returned set via
the callback passed in@Nonnull HashLongSet newImmutableSet(@Nonnull long[] elements)
LongSetFactorynewImmutableSet in interface LongSetFactory<HashLongSetFactory>elements - the array whose elements are to be placed into the returned set@Nonnull HashLongSet newImmutableSet(@Nonnull Long[] elements)
LongSetFactorynewImmutableSet in interface LongSetFactory<HashLongSetFactory>elements - the array whose elements are to be placed into the returned set@Nonnull HashLongSet newImmutableSetOf(long e1)
LongSetFactorynewImmutableSetOf in interface LongSetFactory<HashLongSetFactory>e1 - the sole element@Nonnull HashLongSet newImmutableSetOf(long e1, long e2)
LongSetFactorynewImmutableSetOf in interface LongSetFactory<HashLongSetFactory>e1 - the first elemente2 - the second element@Nonnull HashLongSet newImmutableSetOf(long e1, long e2, long e3)
LongSetFactorynewImmutableSetOf in interface LongSetFactory<HashLongSetFactory>e1 - the first elemente2 - the second elemente3 - the third element@Nonnull HashLongSet newImmutableSetOf(long e1, long e2, long e3, long e4)
LongSetFactorynewImmutableSetOf in interface LongSetFactory<HashLongSetFactory>e1 - the first elemente2 - the second elemente3 - the third elemente4 - the fourth element@Nonnull HashLongSet newImmutableSetOf(long e1, long e2, long e3, long e4, long e5, long... restElements)
LongSetFactorynewImmutableSetOf in interface LongSetFactory<HashLongSetFactory>e1 - the first elemente2 - the second elemente3 - the third elemente4 - the fourth elemente5 - the fifth elementrestElements - the rest elements to be placed into the set