public interface HashFloatSetFactory extends FloatSetFactory<HashFloatSetFactory>, HashContainerFactory<HashFloatSetFactory>
HashFloatSet
s.Modifier and Type | Method and Description |
---|---|
HashFloatSet |
newImmutableSet(Consumer<FloatConsumer> elementsSupplier)
Constructs a new immutable set of elements consumed by the callback within the given closure.
|
HashFloatSet |
newImmutableSet(Consumer<FloatConsumer> elementsSupplier,
int expectedSize)
Constructs a new immutable set of elements consumed by the callback within the given closure.
|
HashFloatSet |
newImmutableSet(float[] elements)
Constructs a new immutable set of elements from the given array.
|
HashFloatSet |
newImmutableSet(Float[] elements)
Constructs a new immutable set of elements from the given array.
|
HashFloatSet |
newImmutableSet(float[] elements,
int expectedSize)
Constructs a new immutable set of elements from the given array.
|
HashFloatSet |
newImmutableSet(Float[] elements,
int expectedSize)
Constructs a new immutable set of elements from the given array.
|
HashFloatSet |
newImmutableSet(Iterable<Float> elements)
Constructs a new immutable set containing the elements in the specified iterable.
|
HashFloatSet |
newImmutableSet(Iterable<Float> elements,
int expectedSize)
Constructs a new immutable set containing the elements in the specified iterable.
|
HashFloatSet |
newImmutableSet(Iterable<Float> elems1,
Iterable<Float> elems2)
Constructs a new immutable set which merge the elements of the specified iterables.
|
HashFloatSet |
newImmutableSet(Iterable<Float> elems1,
Iterable<Float> elems2,
int expectedSize)
Constructs a new immutable set which merge the elements of the specified iterables.
|
HashFloatSet |
newImmutableSet(Iterable<Float> elems1,
Iterable<Float> elems2,
Iterable<Float> elems3)
Constructs a new immutable set which merge the elements of the specified iterables.
|
HashFloatSet |
newImmutableSet(Iterable<Float> elems1,
Iterable<Float> elems2,
Iterable<Float> elems3,
int expectedSize)
Constructs a new immutable set which merge the elements of the specified iterables.
|
HashFloatSet |
newImmutableSet(Iterable<Float> elems1,
Iterable<Float> elems2,
Iterable<Float> elems3,
Iterable<Float> elems4)
Constructs a new immutable set which merge the elements of the specified iterables.
|
HashFloatSet |
newImmutableSet(Iterable<Float> elems1,
Iterable<Float> elems2,
Iterable<Float> elems3,
Iterable<Float> elems4,
int expectedSize)
Constructs a new immutable set which merge the elements of the specified iterables.
|
HashFloatSet |
newImmutableSet(Iterable<Float> elems1,
Iterable<Float> elems2,
Iterable<Float> elems3,
Iterable<Float> elems4,
Iterable<Float> elems5)
Constructs a new immutable set which merge the elements of the specified iterables.
|
HashFloatSet |
newImmutableSet(Iterable<Float> elems1,
Iterable<Float> elems2,
Iterable<Float> elems3,
Iterable<Float> elems4,
Iterable<Float> elems5,
int expectedSize)
Constructs a new immutable set which merge the elements of the specified iterables.
|
HashFloatSet |
newImmutableSet(Iterator<Float> elements)
Constructs a new immutable set containing the elements traversed by the specified iterator.
|
HashFloatSet |
newImmutableSet(Iterator<Float> elements,
int expectedSize)
Constructs a new immutable set containing the elements traversed by the specified iterator.
|
HashFloatSet |
newImmutableSetOf(float e1)
Constructs a new immutable singleton set of the given element.
|
HashFloatSet |
newImmutableSetOf(float e1,
float e2)
Constructs a new immutable set of the two specified elements.
|
HashFloatSet |
newImmutableSetOf(float e1,
float e2,
float e3)
Constructs a new immutable set of the three specified elements.
|
HashFloatSet |
newImmutableSetOf(float e1,
float e2,
float e3,
float e4)
Constructs a new immutable set of the four specified elements.
|
HashFloatSet |
newImmutableSetOf(float e1,
float e2,
float e3,
float e4,
float e5,
float... restElements)
Constructs a new immutable set of the specified elements.
|
HashFloatSet |
newMutableSet()
Constructs a new empty mutable set of the default
expected size.
|
HashFloatSet |
newMutableSet(Consumer<FloatConsumer> elementsSupplier)
Constructs a new mutable set of elements consumed by the callback within the given closure.
|
HashFloatSet |
newMutableSet(Consumer<FloatConsumer> elementsSupplier,
int expectedSize)
Constructs a new mutable set of elements consumed by the callback within the given closure.
|
HashFloatSet |
newMutableSet(float[] elements)
Constructs a new mutable set of elements from the given array.
|
HashFloatSet |
newMutableSet(Float[] elements)
Constructs a new mutable set of elements from the given array.
|
HashFloatSet |
newMutableSet(float[] elements,
int expectedSize)
Constructs a new mutable set of elements from the given array.
|
HashFloatSet |
newMutableSet(Float[] elements,
int expectedSize)
Constructs a new mutable set of elements from the given array.
|
HashFloatSet |
newMutableSet(int expectedSize)
Constructs a new empty mutable set of the given expected size.
|
HashFloatSet |
newMutableSet(Iterable<Float> elements)
Constructs a new mutable set containing the elements in the specified iterable.
|
HashFloatSet |
newMutableSet(Iterable<Float> elements,
int expectedSize)
Constructs a new mutable set containing the elements in the specified iterable.
|
HashFloatSet |
newMutableSet(Iterable<Float> elems1,
Iterable<Float> elems2)
Constructs a new mutable set which merge the elements of the specified iterables.
|
HashFloatSet |
newMutableSet(Iterable<Float> elems1,
Iterable<Float> elems2,
int expectedSize)
Constructs a new mutable set which merge the elements of the specified iterables.
|
HashFloatSet |
newMutableSet(Iterable<Float> elems1,
Iterable<Float> elems2,
Iterable<Float> elems3)
Constructs a new mutable set which merge the elements of the specified iterables.
|
HashFloatSet |
newMutableSet(Iterable<Float> elems1,
Iterable<Float> elems2,
Iterable<Float> elems3,
int expectedSize)
Constructs a new mutable set which merge the elements of the specified iterables.
|
HashFloatSet |
newMutableSet(Iterable<Float> elems1,
Iterable<Float> elems2,
Iterable<Float> elems3,
Iterable<Float> elems4)
Constructs a new mutable set which merge the elements of the specified iterables.
|
HashFloatSet |
newMutableSet(Iterable<Float> elems1,
Iterable<Float> elems2,
Iterable<Float> elems3,
Iterable<Float> elems4,
int expectedSize)
Constructs a new mutable set which merge the elements of the specified iterables.
|
HashFloatSet |
newMutableSet(Iterable<Float> elems1,
Iterable<Float> elems2,
Iterable<Float> elems3,
Iterable<Float> elems4,
Iterable<Float> elems5)
Constructs a new mutable set which merge the elements of the specified iterables.
|
HashFloatSet |
newMutableSet(Iterable<Float> elems1,
Iterable<Float> elems2,
Iterable<Float> elems3,
Iterable<Float> elems4,
Iterable<Float> elems5,
int expectedSize)
Constructs a new mutable set which merge the elements of the specified iterables.
|
HashFloatSet |
newMutableSet(Iterator<Float> elements)
Constructs a new mutable set containing the elements traversed by the specified iterator.
|
HashFloatSet |
newMutableSet(Iterator<Float> elements,
int expectedSize)
Constructs a new mutable set containing the elements traversed by the specified iterator.
|
HashFloatSet |
newMutableSetOf(float e1)
Constructs a new mutable singleton set of the given element.
|
HashFloatSet |
newMutableSetOf(float e1,
float e2)
Constructs a new mutable set of the two specified elements.
|
HashFloatSet |
newMutableSetOf(float e1,
float e2,
float e3)
Constructs a new mutable set of the three specified elements.
|
HashFloatSet |
newMutableSetOf(float e1,
float e2,
float e3,
float e4)
Constructs a new mutable set of the four specified elements.
|
HashFloatSet |
newMutableSetOf(float e1,
float e2,
float e3,
float e4,
float e5,
float... restElements)
Constructs a new mutable set of the specified elements.
|
HashFloatSet |
newUpdatableSet()
Constructs a new empty updatable set of the default
expected size.
|
HashFloatSet |
newUpdatableSet(Consumer<FloatConsumer> elementsSupplier)
Constructs a new updatable set of elements consumed by the callback within the given closure.
|
HashFloatSet |
newUpdatableSet(Consumer<FloatConsumer> elementsSupplier,
int expectedSize)
Constructs a new updatable set of elements consumed by the callback within the given closure.
|
HashFloatSet |
newUpdatableSet(float[] elements)
Constructs a new updatable set of elements from the given array.
|
HashFloatSet |
newUpdatableSet(Float[] elements)
Constructs a new updatable set of elements from the given array.
|
HashFloatSet |
newUpdatableSet(float[] elements,
int expectedSize)
Constructs a new updatable set of elements from the given array.
|
HashFloatSet |
newUpdatableSet(Float[] elements,
int expectedSize)
Constructs a new updatable set of elements from the given array.
|
HashFloatSet |
newUpdatableSet(int expectedSize)
Constructs a new empty updatable set of the given expected size.
|
HashFloatSet |
newUpdatableSet(Iterable<Float> elements)
Constructs a new updatable set containing the elements in the specified iterable.
|
HashFloatSet |
newUpdatableSet(Iterable<Float> elements,
int expectedSize)
Constructs a new updatable set containing the elements in the specified iterable.
|
HashFloatSet |
newUpdatableSet(Iterable<Float> elems1,
Iterable<Float> elems2)
Constructs a new updatable set which merge the elements of the specified iterables.
|
HashFloatSet |
newUpdatableSet(Iterable<Float> elems1,
Iterable<Float> elems2,
int expectedSize)
Constructs a new updatable set which merge the elements of the specified iterables.
|
HashFloatSet |
newUpdatableSet(Iterable<Float> elems1,
Iterable<Float> elems2,
Iterable<Float> elems3)
Constructs a new updatable set which merge the elements of the specified iterables.
|
HashFloatSet |
newUpdatableSet(Iterable<Float> elems1,
Iterable<Float> elems2,
Iterable<Float> elems3,
int expectedSize)
Constructs a new updatable set which merge the elements of the specified iterables.
|
HashFloatSet |
newUpdatableSet(Iterable<Float> elems1,
Iterable<Float> elems2,
Iterable<Float> elems3,
Iterable<Float> elems4)
Constructs a new updatable set which merge the elements of the specified iterables.
|
HashFloatSet |
newUpdatableSet(Iterable<Float> elems1,
Iterable<Float> elems2,
Iterable<Float> elems3,
Iterable<Float> elems4,
int expectedSize)
Constructs a new updatable set which merge the elements of the specified iterables.
|
HashFloatSet |
newUpdatableSet(Iterable<Float> elems1,
Iterable<Float> elems2,
Iterable<Float> elems3,
Iterable<Float> elems4,
Iterable<Float> elems5)
Constructs a new updatable set which merge the elements of the specified iterables.
|
HashFloatSet |
newUpdatableSet(Iterable<Float> elems1,
Iterable<Float> elems2,
Iterable<Float> elems3,
Iterable<Float> elems4,
Iterable<Float> elems5,
int expectedSize)
Constructs a new updatable set which merge the elements of the specified iterables.
|
HashFloatSet |
newUpdatableSet(Iterator<Float> elements)
Constructs a new updatable set containing the elements traversed by the specified iterator.
|
HashFloatSet |
newUpdatableSet(Iterator<Float> elements,
int expectedSize)
Constructs a new updatable set containing the elements traversed by the specified iterator.
|
HashFloatSet |
newUpdatableSetOf(float e1)
Constructs a new updatable singleton set of the given element.
|
HashFloatSet |
newUpdatableSetOf(float e1,
float e2)
Constructs a new updatable set of the two specified elements.
|
HashFloatSet |
newUpdatableSetOf(float e1,
float e2,
float e3)
Constructs a new updatable set of the three specified elements.
|
HashFloatSet |
newUpdatableSetOf(float e1,
float e2,
float e3,
float e4)
Constructs a new updatable set of the four specified elements.
|
HashFloatSet |
newUpdatableSetOf(float e1,
float e2,
float e3,
float e4,
float e5,
float... restElements)
Constructs a new updatable set of the specified elements.
|
getHashConfig, withHashConfig
getDefaultExpectedSize, withDefaultExpectedSize
@Nonnull HashFloatSet newMutableSet()
FloatSetFactory
newMutableSet
in interface FloatSetFactory<HashFloatSetFactory>
@Nonnull HashFloatSet newMutableSet(int expectedSize)
FloatSetFactory
newMutableSet
in interface FloatSetFactory<HashFloatSetFactory>
expectedSize
- the expected size of the returned set@Nonnull HashFloatSet newMutableSet(@Nonnull Iterable<Float> elements, int expectedSize)
FloatSetFactory
If the specified iterable is a Set
the expectedSize
argument is ignored.
newMutableSet
in interface FloatSetFactory<HashFloatSetFactory>
elements
- the iterable whose elements are to be placed into the returned setexpectedSize
- the expected size of the returned set@Nonnull HashFloatSet newMutableSet(@Nonnull Iterable<Float> elems1, @Nonnull Iterable<Float> elems2, int expectedSize)
FloatSetFactory
newMutableSet
in interface FloatSetFactory<HashFloatSetFactory>
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 HashFloatSet newMutableSet(@Nonnull Iterable<Float> elems1, @Nonnull Iterable<Float> elems2, @Nonnull Iterable<Float> elems3, int expectedSize)
FloatSetFactory
newMutableSet
in interface FloatSetFactory<HashFloatSetFactory>
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 HashFloatSet newMutableSet(@Nonnull Iterable<Float> elems1, @Nonnull Iterable<Float> elems2, @Nonnull Iterable<Float> elems3, @Nonnull Iterable<Float> elems4, int expectedSize)
FloatSetFactory
newMutableSet
in interface FloatSetFactory<HashFloatSetFactory>
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 HashFloatSet newMutableSet(@Nonnull Iterable<Float> elems1, @Nonnull Iterable<Float> elems2, @Nonnull Iterable<Float> elems3, @Nonnull Iterable<Float> elems4, @Nonnull Iterable<Float> elems5, int expectedSize)
FloatSetFactory
newMutableSet
in interface FloatSetFactory<HashFloatSetFactory>
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 HashFloatSet newMutableSet(@Nonnull Iterator<Float> elements, int expectedSize)
FloatSetFactory
newMutableSet
in interface FloatSetFactory<HashFloatSetFactory>
elements
- the iterator from which elements are to be placed into the returned setexpectedSize
- the expected size of the returned set@Nonnull HashFloatSet newMutableSet(@Nonnull Consumer<FloatConsumer> elementsSupplier, int expectedSize)
FloatSetFactory
Example: TODO
newMutableSet
in interface FloatSetFactory<HashFloatSetFactory>
elementsSupplier
- the function which supply mappings for the returned set via
the callback passed inexpectedSize
- the expected size of the returned set@Nonnull HashFloatSet newMutableSet(@Nonnull float[] elements, int expectedSize)
FloatSetFactory
newMutableSet
in interface FloatSetFactory<HashFloatSetFactory>
elements
- the array whose elements are to be placed into the returned setexpectedSize
- the expected size of the returned set@Nonnull HashFloatSet newMutableSet(@Nonnull Float[] elements, int expectedSize)
FloatSetFactory
newMutableSet
in interface FloatSetFactory<HashFloatSetFactory>
elements
- the array whose elements are to be placed into the returned setexpectedSize
- the expected size of the returned set@Nonnull HashFloatSet newMutableSet(@Nonnull Iterable<Float> elements)
FloatSetFactory
newMutableSet
in interface FloatSetFactory<HashFloatSetFactory>
elements
- the iterable whose elements are to be placed into the returned set@Nonnull HashFloatSet newMutableSet(@Nonnull Iterable<Float> elems1, @Nonnull Iterable<Float> elems2)
FloatSetFactory
newMutableSet
in interface FloatSetFactory<HashFloatSetFactory>
elems1
- the first source of elements for the returned setelems2
- the second source of elements for the returned set@Nonnull HashFloatSet newMutableSet(@Nonnull Iterable<Float> elems1, @Nonnull Iterable<Float> elems2, @Nonnull Iterable<Float> elems3)
FloatSetFactory
newMutableSet
in interface FloatSetFactory<HashFloatSetFactory>
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 HashFloatSet newMutableSet(@Nonnull Iterable<Float> elems1, @Nonnull Iterable<Float> elems2, @Nonnull Iterable<Float> elems3, @Nonnull Iterable<Float> elems4)
FloatSetFactory
newMutableSet
in interface FloatSetFactory<HashFloatSetFactory>
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 HashFloatSet newMutableSet(@Nonnull Iterable<Float> elems1, @Nonnull Iterable<Float> elems2, @Nonnull Iterable<Float> elems3, @Nonnull Iterable<Float> elems4, @Nonnull Iterable<Float> elems5)
FloatSetFactory
newMutableSet
in interface FloatSetFactory<HashFloatSetFactory>
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 HashFloatSet newMutableSet(@Nonnull Iterator<Float> elements)
FloatSetFactory
newMutableSet
in interface FloatSetFactory<HashFloatSetFactory>
elements
- the iterator from which elements are to be placed into the returned set@Nonnull HashFloatSet newMutableSet(@Nonnull Consumer<FloatConsumer> elementsSupplier)
FloatSetFactory
Example: TODO
newMutableSet
in interface FloatSetFactory<HashFloatSetFactory>
elementsSupplier
- the function which supply mappings for the returned set via
the callback passed in@Nonnull HashFloatSet newMutableSet(@Nonnull float[] elements)
FloatSetFactory
newMutableSet
in interface FloatSetFactory<HashFloatSetFactory>
elements
- the array whose elements are to be placed into the returned set@Nonnull HashFloatSet newMutableSet(@Nonnull Float[] elements)
FloatSetFactory
newMutableSet
in interface FloatSetFactory<HashFloatSetFactory>
elements
- the array whose elements are to be placed into the returned set@Nonnull HashFloatSet newMutableSetOf(float e1)
FloatSetFactory
newMutableSetOf
in interface FloatSetFactory<HashFloatSetFactory>
e1
- the sole element@Nonnull HashFloatSet newMutableSetOf(float e1, float e2)
FloatSetFactory
newMutableSetOf
in interface FloatSetFactory<HashFloatSetFactory>
e1
- the first elemente2
- the second element@Nonnull HashFloatSet newMutableSetOf(float e1, float e2, float e3)
FloatSetFactory
newMutableSetOf
in interface FloatSetFactory<HashFloatSetFactory>
e1
- the first elemente2
- the second elemente3
- the third element@Nonnull HashFloatSet newMutableSetOf(float e1, float e2, float e3, float e4)
FloatSetFactory
newMutableSetOf
in interface FloatSetFactory<HashFloatSetFactory>
e1
- the first elemente2
- the second elemente3
- the third elemente4
- the fourth element@Nonnull HashFloatSet newMutableSetOf(float e1, float e2, float e3, float e4, float e5, float... restElements)
FloatSetFactory
newMutableSetOf
in interface FloatSetFactory<HashFloatSetFactory>
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 HashFloatSet newUpdatableSet()
FloatSetFactory
newUpdatableSet
in interface FloatSetFactory<HashFloatSetFactory>
@Nonnull HashFloatSet newUpdatableSet(int expectedSize)
FloatSetFactory
newUpdatableSet
in interface FloatSetFactory<HashFloatSetFactory>
expectedSize
- the expected size of the returned set@Nonnull HashFloatSet newUpdatableSet(@Nonnull Iterable<Float> elements, int expectedSize)
FloatSetFactory
If the specified iterable is a Set
the expectedSize
argument is ignored.
newUpdatableSet
in interface FloatSetFactory<HashFloatSetFactory>
elements
- the iterable whose elements are to be placed into the returned setexpectedSize
- the expected size of the returned set@Nonnull HashFloatSet newUpdatableSet(@Nonnull Iterable<Float> elems1, @Nonnull Iterable<Float> elems2, int expectedSize)
FloatSetFactory
newUpdatableSet
in interface FloatSetFactory<HashFloatSetFactory>
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 HashFloatSet newUpdatableSet(@Nonnull Iterable<Float> elems1, @Nonnull Iterable<Float> elems2, @Nonnull Iterable<Float> elems3, int expectedSize)
FloatSetFactory
newUpdatableSet
in interface FloatSetFactory<HashFloatSetFactory>
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 HashFloatSet newUpdatableSet(@Nonnull Iterable<Float> elems1, @Nonnull Iterable<Float> elems2, @Nonnull Iterable<Float> elems3, @Nonnull Iterable<Float> elems4, int expectedSize)
FloatSetFactory
newUpdatableSet
in interface FloatSetFactory<HashFloatSetFactory>
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 HashFloatSet newUpdatableSet(@Nonnull Iterable<Float> elems1, @Nonnull Iterable<Float> elems2, @Nonnull Iterable<Float> elems3, @Nonnull Iterable<Float> elems4, @Nonnull Iterable<Float> elems5, int expectedSize)
FloatSetFactory
newUpdatableSet
in interface FloatSetFactory<HashFloatSetFactory>
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 HashFloatSet newUpdatableSet(@Nonnull Iterator<Float> elements, int expectedSize)
FloatSetFactory
newUpdatableSet
in interface FloatSetFactory<HashFloatSetFactory>
elements
- the iterator from which elements are to be placed into the returned setexpectedSize
- the expected size of the returned set@Nonnull HashFloatSet newUpdatableSet(@Nonnull Consumer<FloatConsumer> elementsSupplier, int expectedSize)
FloatSetFactory
Example: TODO
newUpdatableSet
in interface FloatSetFactory<HashFloatSetFactory>
elementsSupplier
- the function which supply mappings for the returned set via
the callback passed inexpectedSize
- the expected size of the returned set@Nonnull HashFloatSet newUpdatableSet(@Nonnull float[] elements, int expectedSize)
FloatSetFactory
newUpdatableSet
in interface FloatSetFactory<HashFloatSetFactory>
elements
- the array whose elements are to be placed into the returned setexpectedSize
- the expected size of the returned set@Nonnull HashFloatSet newUpdatableSet(@Nonnull Float[] elements, int expectedSize)
FloatSetFactory
newUpdatableSet
in interface FloatSetFactory<HashFloatSetFactory>
elements
- the array whose elements are to be placed into the returned setexpectedSize
- the expected size of the returned set@Nonnull HashFloatSet newUpdatableSet(@Nonnull Iterable<Float> elements)
FloatSetFactory
newUpdatableSet
in interface FloatSetFactory<HashFloatSetFactory>
elements
- the iterable whose elements are to be placed into the returned set@Nonnull HashFloatSet newUpdatableSet(@Nonnull Iterable<Float> elems1, @Nonnull Iterable<Float> elems2)
FloatSetFactory
newUpdatableSet
in interface FloatSetFactory<HashFloatSetFactory>
elems1
- the first source of elements for the returned setelems2
- the second source of elements for the returned set@Nonnull HashFloatSet newUpdatableSet(@Nonnull Iterable<Float> elems1, @Nonnull Iterable<Float> elems2, @Nonnull Iterable<Float> elems3)
FloatSetFactory
newUpdatableSet
in interface FloatSetFactory<HashFloatSetFactory>
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 HashFloatSet newUpdatableSet(@Nonnull Iterable<Float> elems1, @Nonnull Iterable<Float> elems2, @Nonnull Iterable<Float> elems3, @Nonnull Iterable<Float> elems4)
FloatSetFactory
newUpdatableSet
in interface FloatSetFactory<HashFloatSetFactory>
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 HashFloatSet newUpdatableSet(@Nonnull Iterable<Float> elems1, @Nonnull Iterable<Float> elems2, @Nonnull Iterable<Float> elems3, @Nonnull Iterable<Float> elems4, @Nonnull Iterable<Float> elems5)
FloatSetFactory
newUpdatableSet
in interface FloatSetFactory<HashFloatSetFactory>
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 HashFloatSet newUpdatableSet(@Nonnull Iterator<Float> elements)
FloatSetFactory
newUpdatableSet
in interface FloatSetFactory<HashFloatSetFactory>
elements
- the iterator from which elements are to be placed into the returned set@Nonnull HashFloatSet newUpdatableSet(@Nonnull Consumer<FloatConsumer> elementsSupplier)
FloatSetFactory
Example: TODO
newUpdatableSet
in interface FloatSetFactory<HashFloatSetFactory>
elementsSupplier
- the function which supply mappings for the returned set via
the callback passed in@Nonnull HashFloatSet newUpdatableSet(@Nonnull float[] elements)
FloatSetFactory
newUpdatableSet
in interface FloatSetFactory<HashFloatSetFactory>
elements
- the array whose elements are to be placed into the returned set@Nonnull HashFloatSet newUpdatableSet(@Nonnull Float[] elements)
FloatSetFactory
newUpdatableSet
in interface FloatSetFactory<HashFloatSetFactory>
elements
- the array whose elements are to be placed into the returned set@Nonnull HashFloatSet newUpdatableSetOf(float e1)
FloatSetFactory
newUpdatableSetOf
in interface FloatSetFactory<HashFloatSetFactory>
e1
- the sole element@Nonnull HashFloatSet newUpdatableSetOf(float e1, float e2)
FloatSetFactory
newUpdatableSetOf
in interface FloatSetFactory<HashFloatSetFactory>
e1
- the first elemente2
- the second element@Nonnull HashFloatSet newUpdatableSetOf(float e1, float e2, float e3)
FloatSetFactory
newUpdatableSetOf
in interface FloatSetFactory<HashFloatSetFactory>
e1
- the first elemente2
- the second elemente3
- the third element@Nonnull HashFloatSet newUpdatableSetOf(float e1, float e2, float e3, float e4)
FloatSetFactory
newUpdatableSetOf
in interface FloatSetFactory<HashFloatSetFactory>
e1
- the first elemente2
- the second elemente3
- the third elemente4
- the fourth element@Nonnull HashFloatSet newUpdatableSetOf(float e1, float e2, float e3, float e4, float e5, float... restElements)
FloatSetFactory
newUpdatableSetOf
in interface FloatSetFactory<HashFloatSetFactory>
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 HashFloatSet newImmutableSet(@Nonnull Iterable<Float> elements, int expectedSize)
FloatSetFactory
If the specified iterable is a Set
the expectedSize
argument is ignored.
newImmutableSet
in interface FloatSetFactory<HashFloatSetFactory>
elements
- the iterable whose elements are to be placed into the returned setexpectedSize
- the expected size of the returned set@Nonnull HashFloatSet newImmutableSet(@Nonnull Iterable<Float> elems1, @Nonnull Iterable<Float> elems2, int expectedSize)
FloatSetFactory
newImmutableSet
in interface FloatSetFactory<HashFloatSetFactory>
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 HashFloatSet newImmutableSet(@Nonnull Iterable<Float> elems1, @Nonnull Iterable<Float> elems2, @Nonnull Iterable<Float> elems3, int expectedSize)
FloatSetFactory
newImmutableSet
in interface FloatSetFactory<HashFloatSetFactory>
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 HashFloatSet newImmutableSet(@Nonnull Iterable<Float> elems1, @Nonnull Iterable<Float> elems2, @Nonnull Iterable<Float> elems3, @Nonnull Iterable<Float> elems4, int expectedSize)
FloatSetFactory
newImmutableSet
in interface FloatSetFactory<HashFloatSetFactory>
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 HashFloatSet newImmutableSet(@Nonnull Iterable<Float> elems1, @Nonnull Iterable<Float> elems2, @Nonnull Iterable<Float> elems3, @Nonnull Iterable<Float> elems4, @Nonnull Iterable<Float> elems5, int expectedSize)
FloatSetFactory
newImmutableSet
in interface FloatSetFactory<HashFloatSetFactory>
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 HashFloatSet newImmutableSet(@Nonnull Iterator<Float> elements, int expectedSize)
FloatSetFactory
newImmutableSet
in interface FloatSetFactory<HashFloatSetFactory>
elements
- the iterator from which elements are to be placed into the returned setexpectedSize
- the expected size of the returned set@Nonnull HashFloatSet newImmutableSet(@Nonnull Consumer<FloatConsumer> elementsSupplier, int expectedSize)
FloatSetFactory
Example: TODO
newImmutableSet
in interface FloatSetFactory<HashFloatSetFactory>
elementsSupplier
- the function which supply mappings for the returned set via
the callback passed inexpectedSize
- the expected size of the returned set@Nonnull HashFloatSet newImmutableSet(@Nonnull float[] elements, int expectedSize)
FloatSetFactory
newImmutableSet
in interface FloatSetFactory<HashFloatSetFactory>
elements
- the array whose elements are to be placed into the returned setexpectedSize
- the expected size of the returned set@Nonnull HashFloatSet newImmutableSet(@Nonnull Float[] elements, int expectedSize)
FloatSetFactory
newImmutableSet
in interface FloatSetFactory<HashFloatSetFactory>
elements
- the array whose elements are to be placed into the returned setexpectedSize
- the expected size of the returned set@Nonnull HashFloatSet newImmutableSet(@Nonnull Iterable<Float> elements)
FloatSetFactory
newImmutableSet
in interface FloatSetFactory<HashFloatSetFactory>
elements
- the iterable whose elements are to be placed into the returned set@Nonnull HashFloatSet newImmutableSet(@Nonnull Iterable<Float> elems1, @Nonnull Iterable<Float> elems2)
FloatSetFactory
newImmutableSet
in interface FloatSetFactory<HashFloatSetFactory>
elems1
- the first source of elements for the returned setelems2
- the second source of elements for the returned set@Nonnull HashFloatSet newImmutableSet(@Nonnull Iterable<Float> elems1, @Nonnull Iterable<Float> elems2, @Nonnull Iterable<Float> elems3)
FloatSetFactory
newImmutableSet
in interface FloatSetFactory<HashFloatSetFactory>
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 HashFloatSet newImmutableSet(@Nonnull Iterable<Float> elems1, @Nonnull Iterable<Float> elems2, @Nonnull Iterable<Float> elems3, @Nonnull Iterable<Float> elems4)
FloatSetFactory
newImmutableSet
in interface FloatSetFactory<HashFloatSetFactory>
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 HashFloatSet newImmutableSet(@Nonnull Iterable<Float> elems1, @Nonnull Iterable<Float> elems2, @Nonnull Iterable<Float> elems3, @Nonnull Iterable<Float> elems4, @Nonnull Iterable<Float> elems5)
FloatSetFactory
newImmutableSet
in interface FloatSetFactory<HashFloatSetFactory>
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 HashFloatSet newImmutableSet(@Nonnull Iterator<Float> elements)
FloatSetFactory
newImmutableSet
in interface FloatSetFactory<HashFloatSetFactory>
elements
- the iterator from which elements are to be placed into the returned set@Nonnull HashFloatSet newImmutableSet(@Nonnull Consumer<FloatConsumer> elementsSupplier)
FloatSetFactory
Example: TODO
newImmutableSet
in interface FloatSetFactory<HashFloatSetFactory>
elementsSupplier
- the function which supply mappings for the returned set via
the callback passed in@Nonnull HashFloatSet newImmutableSet(@Nonnull float[] elements)
FloatSetFactory
newImmutableSet
in interface FloatSetFactory<HashFloatSetFactory>
elements
- the array whose elements are to be placed into the returned set@Nonnull HashFloatSet newImmutableSet(@Nonnull Float[] elements)
FloatSetFactory
newImmutableSet
in interface FloatSetFactory<HashFloatSetFactory>
elements
- the array whose elements are to be placed into the returned set@Nonnull HashFloatSet newImmutableSetOf(float e1)
FloatSetFactory
newImmutableSetOf
in interface FloatSetFactory<HashFloatSetFactory>
e1
- the sole element@Nonnull HashFloatSet newImmutableSetOf(float e1, float e2)
FloatSetFactory
newImmutableSetOf
in interface FloatSetFactory<HashFloatSetFactory>
e1
- the first elemente2
- the second element@Nonnull HashFloatSet newImmutableSetOf(float e1, float e2, float e3)
FloatSetFactory
newImmutableSetOf
in interface FloatSetFactory<HashFloatSetFactory>
e1
- the first elemente2
- the second elemente3
- the third element@Nonnull HashFloatSet newImmutableSetOf(float e1, float e2, float e3, float e4)
FloatSetFactory
newImmutableSetOf
in interface FloatSetFactory<HashFloatSetFactory>
e1
- the first elemente2
- the second elemente3
- the third elemente4
- the fourth element@Nonnull HashFloatSet newImmutableSetOf(float e1, float e2, float e3, float e4, float e5, float... restElements)
FloatSetFactory
newImmutableSetOf
in interface FloatSetFactory<HashFloatSetFactory>
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