com.koloboke.collect.set
Interface FloatSetFactory<F extends FloatSetFactory<F>>

Type Parameters:
F - the concrete factory type which extends this interface
All Superinterfaces:
ContainerFactory<F>
All Known Subinterfaces:
HashFloatSetFactory

public interface FloatSetFactory<F extends FloatSetFactory<F>>
extends ContainerFactory<F>

An immutable factory of FloatSets.

See Also:
FloatSet, @KolobokeSet

Method Summary
 FloatSet newImmutableSet(Consumer<FloatConsumer> elementsSupplier)
          Constructs a new immutable set of elements consumed by the callback within the given closure.
 FloatSet newImmutableSet(Consumer<FloatConsumer> elementsSupplier, int expectedSize)
          Constructs a new immutable set of elements consumed by the callback within the given closure.
 FloatSet newImmutableSet(float[] elements)
          Constructs a new immutable set of elements from the given array.
 FloatSet newImmutableSet(Float[] elements)
          Constructs a new immutable set of elements from the given array.
 FloatSet newImmutableSet(float[] elements, int expectedSize)
          Constructs a new immutable set of elements from the given array.
 FloatSet newImmutableSet(Float[] elements, int expectedSize)
          Constructs a new immutable set of elements from the given array.
 FloatSet newImmutableSet(Iterable<Float> elements)
          Constructs a new immutable set containing the elements in the specified iterable.
 FloatSet newImmutableSet(Iterable<Float> elements, int expectedSize)
          Constructs a new immutable set containing the elements in the specified iterable.
 FloatSet newImmutableSet(Iterable<Float> elems1, Iterable<Float> elems2)
          Constructs a new immutable set which merge the elements of the specified iterables.
 FloatSet newImmutableSet(Iterable<Float> elems1, Iterable<Float> elems2, int expectedSize)
          Constructs a new immutable set which merge the elements of the specified iterables.
 FloatSet newImmutableSet(Iterable<Float> elems1, Iterable<Float> elems2, Iterable<Float> elems3)
          Constructs a new immutable set which merge the elements of the specified iterables.
 FloatSet 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.
 FloatSet 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.
 FloatSet 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.
 FloatSet 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.
 FloatSet 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.
 FloatSet newImmutableSet(Iterator<Float> elements)
          Constructs a new immutable set containing the elements traversed by the specified iterator.
 FloatSet newImmutableSet(Iterator<Float> elements, int expectedSize)
          Constructs a new immutable set containing the elements traversed by the specified iterator.
 FloatSet newImmutableSetOf(float e1)
          Constructs a new immutable singleton set of the given element.
 FloatSet newImmutableSetOf(float e1, float e2)
          Constructs a new immutable set of the two specified elements.
 FloatSet newImmutableSetOf(float e1, float e2, float e3)
          Constructs a new immutable set of the three specified elements.
 FloatSet newImmutableSetOf(float e1, float e2, float e3, float e4)
          Constructs a new immutable set of the four specified elements.
 FloatSet newImmutableSetOf(float e1, float e2, float e3, float e4, float e5, float... restElements)
          Constructs a new immutable set of the specified elements.
 FloatSet newMutableSet()
          Constructs a new empty mutable set of the default expected size.
 FloatSet newMutableSet(Consumer<FloatConsumer> elementsSupplier)
          Constructs a new mutable set of elements consumed by the callback within the given closure.
 FloatSet newMutableSet(Consumer<FloatConsumer> elementsSupplier, int expectedSize)
          Constructs a new mutable set of elements consumed by the callback within the given closure.
 FloatSet newMutableSet(float[] elements)
          Constructs a new mutable set of elements from the given array.
 FloatSet newMutableSet(Float[] elements)
          Constructs a new mutable set of elements from the given array.
 FloatSet newMutableSet(float[] elements, int expectedSize)
          Constructs a new mutable set of elements from the given array.
 FloatSet newMutableSet(Float[] elements, int expectedSize)
          Constructs a new mutable set of elements from the given array.
 FloatSet newMutableSet(int expectedSize)
          Constructs a new empty mutable set of the given expected size.
 FloatSet newMutableSet(Iterable<Float> elements)
          Constructs a new mutable set containing the elements in the specified iterable.
 FloatSet newMutableSet(Iterable<Float> elements, int expectedSize)
          Constructs a new mutable set containing the elements in the specified iterable.
 FloatSet newMutableSet(Iterable<Float> elems1, Iterable<Float> elems2)
          Constructs a new mutable set which merge the elements of the specified iterables.
 FloatSet newMutableSet(Iterable<Float> elems1, Iterable<Float> elems2, int expectedSize)
          Constructs a new mutable set which merge the elements of the specified iterables.
 FloatSet newMutableSet(Iterable<Float> elems1, Iterable<Float> elems2, Iterable<Float> elems3)
          Constructs a new mutable set which merge the elements of the specified iterables.
 FloatSet 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.
 FloatSet 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.
 FloatSet 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.
 FloatSet 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.
 FloatSet 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.
 FloatSet newMutableSet(Iterator<Float> elements)
          Constructs a new mutable set containing the elements traversed by the specified iterator.
 FloatSet newMutableSet(Iterator<Float> elements, int expectedSize)
          Constructs a new mutable set containing the elements traversed by the specified iterator.
 FloatSet newMutableSetOf(float e1)
          Constructs a new mutable singleton set of the given element.
 FloatSet newMutableSetOf(float e1, float e2)
          Constructs a new mutable set of the two specified elements.
 FloatSet newMutableSetOf(float e1, float e2, float e3)
          Constructs a new mutable set of the three specified elements.
 FloatSet newMutableSetOf(float e1, float e2, float e3, float e4)
          Constructs a new mutable set of the four specified elements.
 FloatSet newMutableSetOf(float e1, float e2, float e3, float e4, float e5, float... restElements)
          Constructs a new mutable set of the specified elements.
 FloatSet newUpdatableSet()
          Constructs a new empty updatable set of the default expected size.
 FloatSet newUpdatableSet(Consumer<FloatConsumer> elementsSupplier)
          Constructs a new updatable set of elements consumed by the callback within the given closure.
 FloatSet newUpdatableSet(Consumer<FloatConsumer> elementsSupplier, int expectedSize)
          Constructs a new updatable set of elements consumed by the callback within the given closure.
 FloatSet newUpdatableSet(float[] elements)
          Constructs a new updatable set of elements from the given array.
 FloatSet newUpdatableSet(Float[] elements)
          Constructs a new updatable set of elements from the given array.
 FloatSet newUpdatableSet(float[] elements, int expectedSize)
          Constructs a new updatable set of elements from the given array.
 FloatSet newUpdatableSet(Float[] elements, int expectedSize)
          Constructs a new updatable set of elements from the given array.
 FloatSet newUpdatableSet(int expectedSize)
          Constructs a new empty updatable set of the given expected size.
 FloatSet newUpdatableSet(Iterable<Float> elements)
          Constructs a new updatable set containing the elements in the specified iterable.
 FloatSet newUpdatableSet(Iterable<Float> elements, int expectedSize)
          Constructs a new updatable set containing the elements in the specified iterable.
 FloatSet newUpdatableSet(Iterable<Float> elems1, Iterable<Float> elems2)
          Constructs a new updatable set which merge the elements of the specified iterables.
 FloatSet newUpdatableSet(Iterable<Float> elems1, Iterable<Float> elems2, int expectedSize)
          Constructs a new updatable set which merge the elements of the specified iterables.
 FloatSet newUpdatableSet(Iterable<Float> elems1, Iterable<Float> elems2, Iterable<Float> elems3)
          Constructs a new updatable set which merge the elements of the specified iterables.
 FloatSet 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.
 FloatSet 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.
 FloatSet 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.
 FloatSet 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.
 FloatSet 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.
 FloatSet newUpdatableSet(Iterator<Float> elements)
          Constructs a new updatable set containing the elements traversed by the specified iterator.
 FloatSet newUpdatableSet(Iterator<Float> elements, int expectedSize)
          Constructs a new updatable set containing the elements traversed by the specified iterator.
 FloatSet newUpdatableSetOf(float e1)
          Constructs a new updatable singleton set of the given element.
 FloatSet newUpdatableSetOf(float e1, float e2)
          Constructs a new updatable set of the two specified elements.
 FloatSet newUpdatableSetOf(float e1, float e2, float e3)
          Constructs a new updatable set of the three specified elements.
 FloatSet newUpdatableSetOf(float e1, float e2, float e3, float e4)
          Constructs a new updatable set of the four specified elements.
 FloatSet newUpdatableSetOf(float e1, float e2, float e3, float e4, float e5, float... restElements)
          Constructs a new updatable set of the specified elements.
 
Methods inherited from interface com.koloboke.collect.ContainerFactory
getDefaultExpectedSize, withDefaultExpectedSize
 

Method Detail

newMutableSet

@Nonnull
FloatSet newMutableSet()
Constructs a new empty mutable set of the default expected size.

Returns:
a new empty mutable set

newMutableSet

@Nonnull
FloatSet newMutableSet(int expectedSize)
Constructs a new empty mutable set of the given expected size.

Parameters:
expectedSize - the expected size of the returned set
Returns:
a new empty mutable set of the given expected size

newMutableSet

@Nonnull
FloatSet newMutableSet(@Nonnull
                               Iterable<Float> elements,
                               int expectedSize)
Constructs a new mutable set containing the elements in the specified iterable.

If the specified iterable is a Set the expectedSize argument is ignored.

Parameters:
elements - the iterable whose elements are to be placed into the returned set
expectedSize - the expected size of the returned set
Returns:
a new mutable set of the elements of the specified iterable

newMutableSet

@Nonnull
FloatSet newMutableSet(@Nonnull
                               Iterable<Float> elems1,
                               @Nonnull
                               Iterable<Float> elems2,
                               int expectedSize)
Constructs a new mutable set which merge the elements of the specified iterables.

Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
expectedSize - the expected size of the returned set
Returns:
a new mutable set which merge the elements of the specified iterables

newMutableSet

@Nonnull
FloatSet newMutableSet(@Nonnull
                               Iterable<Float> elems1,
                               @Nonnull
                               Iterable<Float> elems2,
                               @Nonnull
                               Iterable<Float> elems3,
                               int expectedSize)
Constructs a new mutable set which merge the elements of the specified iterables.

Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
expectedSize - the expected size of the returned set
Returns:
a new mutable set which merge the elements of the specified iterables

newMutableSet

@Nonnull
FloatSet newMutableSet(@Nonnull
                               Iterable<Float> elems1,
                               @Nonnull
                               Iterable<Float> elems2,
                               @Nonnull
                               Iterable<Float> elems3,
                               @Nonnull
                               Iterable<Float> elems4,
                               int expectedSize)
Constructs a new mutable set which merge the elements of the specified iterables.

Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
elems4 - the fourth source of elements for the returned set
expectedSize - the expected size of the returned set
Returns:
a new mutable set which merge the elements of the specified iterables

newMutableSet

FloatSet newMutableSet(@Nonnull
                       Iterable<Float> elems1,
                       @Nonnull
                       Iterable<Float> elems2,
                       @Nonnull
                       Iterable<Float> elems3,
                       @Nonnull
                       Iterable<Float> elems4,
                       @Nonnull
                       Iterable<Float> elems5,
                       int expectedSize)
Constructs a new mutable set which merge the elements of the specified iterables.

Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
elems4 - the fourth source of elements for the returned set
elems5 - the fifth source of elements for the returned set
expectedSize - the expected size of the returned set
Returns:
a new mutable set which merge the elements of the specified iterables

newMutableSet

@Nonnull
FloatSet newMutableSet(@Nonnull
                               Iterator<Float> elements,
                               int expectedSize)
Constructs a new mutable set containing the elements traversed by the specified iterator.

Parameters:
elements - the iterator from which elements are to be placed into the returned set
expectedSize - the expected size of the returned set
Returns:
a new mutable set containing the elements traversed by the specified iterator

newMutableSet

@Nonnull
FloatSet newMutableSet(@Nonnull
                               Consumer<FloatConsumer> elementsSupplier,
                               int expectedSize)
Constructs a new mutable set of elements consumed by the callback within the given closure.

Example: TODO

Parameters:
elementsSupplier - the function which supply mappings for the returned set via the callback passed in
expectedSize - the expected size of the returned set
Returns:
a new mutable set of elements consumed by the callback within the given closure

newMutableSet

@Nonnull
FloatSet newMutableSet(@Nonnull
                               float[] elements,
                               int expectedSize)
Constructs a new mutable set of elements from the given array.

Parameters:
elements - the array whose elements are to be placed into the returned set
expectedSize - the expected size of the returned set
Returns:
a new mutable set of elements from the given array

newMutableSet

@Nonnull
FloatSet newMutableSet(@Nonnull
                               Float[] elements,
                               int expectedSize)
Constructs a new mutable set of elements from the given array.

Parameters:
elements - the array whose elements are to be placed into the returned set
expectedSize - the expected size of the returned set
Returns:
a new mutable set of elements from the given array
Throws:
NullPointerException - if elements array contain null elements

newMutableSet

@Nonnull
FloatSet newMutableSet(@Nonnull
                               Iterable<Float> elements)
Constructs a new mutable set containing the elements in the specified iterable.

Parameters:
elements - the iterable whose elements are to be placed into the returned set
Returns:
a new mutable set of the elements of the specified iterable

newMutableSet

@Nonnull
FloatSet newMutableSet(@Nonnull
                               Iterable<Float> elems1,
                               @Nonnull
                               Iterable<Float> elems2)
Constructs a new mutable set which merge the elements of the specified iterables.

Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
Returns:
a new mutable set which merge the elements of the specified iterables

newMutableSet

@Nonnull
FloatSet newMutableSet(@Nonnull
                               Iterable<Float> elems1,
                               @Nonnull
                               Iterable<Float> elems2,
                               @Nonnull
                               Iterable<Float> elems3)
Constructs a new mutable set which merge the elements of the specified iterables.

Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
Returns:
a new mutable set which merge the elements of the specified iterables

newMutableSet

@Nonnull
FloatSet newMutableSet(@Nonnull
                               Iterable<Float> elems1,
                               @Nonnull
                               Iterable<Float> elems2,
                               @Nonnull
                               Iterable<Float> elems3,
                               @Nonnull
                               Iterable<Float> elems4)
Constructs a new mutable set which merge the elements of the specified iterables.

Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
elems4 - the fourth source of elements for the returned set
Returns:
a new mutable set which merge the elements of the specified iterables

newMutableSet

FloatSet newMutableSet(@Nonnull
                       Iterable<Float> elems1,
                       @Nonnull
                       Iterable<Float> elems2,
                       @Nonnull
                       Iterable<Float> elems3,
                       @Nonnull
                       Iterable<Float> elems4,
                       @Nonnull
                       Iterable<Float> elems5)
Constructs a new mutable set which merge the elements of the specified iterables.

Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
elems4 - the fourth source of elements for the returned set
elems5 - the fifth source of elements for the returned set
Returns:
a new mutable set which merge the elements of the specified iterables

newMutableSet

@Nonnull
FloatSet newMutableSet(@Nonnull
                               Iterator<Float> elements)
Constructs a new mutable set containing the elements traversed by the specified iterator.

Parameters:
elements - the iterator from which elements are to be placed into the returned set
Returns:
a new mutable set containing the elements traversed by the specified iterator

newMutableSet

@Nonnull
FloatSet newMutableSet(@Nonnull
                               Consumer<FloatConsumer> elementsSupplier)
Constructs a new mutable set of elements consumed by the callback within the given closure.

Example: TODO

Parameters:
elementsSupplier - the function which supply mappings for the returned set via the callback passed in
Returns:
a new mutable set of elements consumed by the callback within the given closure

newMutableSet

@Nonnull
FloatSet newMutableSet(@Nonnull
                               float[] elements)
Constructs a new mutable set of elements from the given array.

Parameters:
elements - the array whose elements are to be placed into the returned set
Returns:
a new mutable set of elements from the given array

newMutableSet

@Nonnull
FloatSet newMutableSet(@Nonnull
                               Float[] elements)
Constructs a new mutable set of elements from the given array.

Parameters:
elements - the array whose elements are to be placed into the returned set
Returns:
a new mutable set of elements from the given array
Throws:
NullPointerException - if elements array contain null elements

newMutableSetOf

@Nonnull
FloatSet newMutableSetOf(float e1)
Constructs a new mutable singleton set of the given element.

Parameters:
e1 - the sole element
Returns:
a new mutable singleton set of the given element

newMutableSetOf

@Nonnull
FloatSet newMutableSetOf(float e1,
                                 float e2)
Constructs a new mutable set of the two specified elements.

Parameters:
e1 - the first element
e2 - the second element
Returns:
a new mutable set of the two specified elements

newMutableSetOf

@Nonnull
FloatSet newMutableSetOf(float e1,
                                 float e2,
                                 float e3)
Constructs a new mutable set of the three specified elements.

Parameters:
e1 - the first element
e2 - the second element
e3 - the third element
Returns:
a new mutable set of the three specified elements

newMutableSetOf

@Nonnull
FloatSet newMutableSetOf(float e1,
                                 float e2,
                                 float e3,
                                 float e4)
Constructs a new mutable set of the four specified elements.

Parameters:
e1 - the first element
e2 - the second element
e3 - the third element
e4 - the fourth element
Returns:
a new mutable set of the four specified elements

newMutableSetOf

@Nonnull
FloatSet newMutableSetOf(float e1,
                                 float e2,
                                 float e3,
                                 float e4,
                                 float e5,
                                 float... restElements)
Constructs a new mutable set of the specified elements.

Parameters:
e1 - the first element
e2 - the second element
e3 - the third element
e4 - the fourth element
e5 - the fifth element
restElements - the rest elements to be placed into the set
Returns:
a new mutable set of the specified elements

newUpdatableSet

@Nonnull
FloatSet newUpdatableSet()
Constructs a new empty updatable set of the default expected size.

Returns:
a new empty updatable set

newUpdatableSet

@Nonnull
FloatSet newUpdatableSet(int expectedSize)
Constructs a new empty updatable set of the given expected size.

Parameters:
expectedSize - the expected size of the returned set
Returns:
a new empty updatable set of the given expected size

newUpdatableSet

@Nonnull
FloatSet newUpdatableSet(@Nonnull
                                 Iterable<Float> elements,
                                 int expectedSize)
Constructs a new updatable set containing the elements in the specified iterable.

If the specified iterable is a Set the expectedSize argument is ignored.

Parameters:
elements - the iterable whose elements are to be placed into the returned set
expectedSize - the expected size of the returned set
Returns:
a new updatable set of the elements of the specified iterable

newUpdatableSet

@Nonnull
FloatSet newUpdatableSet(@Nonnull
                                 Iterable<Float> elems1,
                                 @Nonnull
                                 Iterable<Float> elems2,
                                 int expectedSize)
Constructs a new updatable set which merge the elements of the specified iterables.

Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
expectedSize - the expected size of the returned set
Returns:
a new updatable set which merge the elements of the specified iterables

newUpdatableSet

@Nonnull
FloatSet newUpdatableSet(@Nonnull
                                 Iterable<Float> elems1,
                                 @Nonnull
                                 Iterable<Float> elems2,
                                 @Nonnull
                                 Iterable<Float> elems3,
                                 int expectedSize)
Constructs a new updatable set which merge the elements of the specified iterables.

Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
expectedSize - the expected size of the returned set
Returns:
a new updatable set which merge the elements of the specified iterables

newUpdatableSet

@Nonnull
FloatSet newUpdatableSet(@Nonnull
                                 Iterable<Float> elems1,
                                 @Nonnull
                                 Iterable<Float> elems2,
                                 @Nonnull
                                 Iterable<Float> elems3,
                                 @Nonnull
                                 Iterable<Float> elems4,
                                 int expectedSize)
Constructs a new updatable set which merge the elements of the specified iterables.

Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
elems4 - the fourth source of elements for the returned set
expectedSize - the expected size of the returned set
Returns:
a new updatable set which merge the elements of the specified iterables

newUpdatableSet

FloatSet newUpdatableSet(@Nonnull
                         Iterable<Float> elems1,
                         @Nonnull
                         Iterable<Float> elems2,
                         @Nonnull
                         Iterable<Float> elems3,
                         @Nonnull
                         Iterable<Float> elems4,
                         @Nonnull
                         Iterable<Float> elems5,
                         int expectedSize)
Constructs a new updatable set which merge the elements of the specified iterables.

Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
elems4 - the fourth source of elements for the returned set
elems5 - the fifth source of elements for the returned set
expectedSize - the expected size of the returned set
Returns:
a new updatable set which merge the elements of the specified iterables

newUpdatableSet

@Nonnull
FloatSet newUpdatableSet(@Nonnull
                                 Iterator<Float> elements,
                                 int expectedSize)
Constructs a new updatable set containing the elements traversed by the specified iterator.

Parameters:
elements - the iterator from which elements are to be placed into the returned set
expectedSize - the expected size of the returned set
Returns:
a new updatable set containing the elements traversed by the specified iterator

newUpdatableSet

@Nonnull
FloatSet newUpdatableSet(@Nonnull
                                 Consumer<FloatConsumer> elementsSupplier,
                                 int expectedSize)
Constructs a new updatable set of elements consumed by the callback within the given closure.

Example: TODO

Parameters:
elementsSupplier - the function which supply mappings for the returned set via the callback passed in
expectedSize - the expected size of the returned set
Returns:
a new updatable set of elements consumed by the callback within the given closure

newUpdatableSet

@Nonnull
FloatSet newUpdatableSet(@Nonnull
                                 float[] elements,
                                 int expectedSize)
Constructs a new updatable set of elements from the given array.

Parameters:
elements - the array whose elements are to be placed into the returned set
expectedSize - the expected size of the returned set
Returns:
a new updatable set of elements from the given array

newUpdatableSet

@Nonnull
FloatSet newUpdatableSet(@Nonnull
                                 Float[] elements,
                                 int expectedSize)
Constructs a new updatable set of elements from the given array.

Parameters:
elements - the array whose elements are to be placed into the returned set
expectedSize - the expected size of the returned set
Returns:
a new updatable set of elements from the given array
Throws:
NullPointerException - if elements array contain null elements

newUpdatableSet

@Nonnull
FloatSet newUpdatableSet(@Nonnull
                                 Iterable<Float> elements)
Constructs a new updatable set containing the elements in the specified iterable.

Parameters:
elements - the iterable whose elements are to be placed into the returned set
Returns:
a new updatable set of the elements of the specified iterable

newUpdatableSet

@Nonnull
FloatSet newUpdatableSet(@Nonnull
                                 Iterable<Float> elems1,
                                 @Nonnull
                                 Iterable<Float> elems2)
Constructs a new updatable set which merge the elements of the specified iterables.

Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
Returns:
a new updatable set which merge the elements of the specified iterables

newUpdatableSet

@Nonnull
FloatSet newUpdatableSet(@Nonnull
                                 Iterable<Float> elems1,
                                 @Nonnull
                                 Iterable<Float> elems2,
                                 @Nonnull
                                 Iterable<Float> elems3)
Constructs a new updatable set which merge the elements of the specified iterables.

Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
Returns:
a new updatable set which merge the elements of the specified iterables

newUpdatableSet

@Nonnull
FloatSet newUpdatableSet(@Nonnull
                                 Iterable<Float> elems1,
                                 @Nonnull
                                 Iterable<Float> elems2,
                                 @Nonnull
                                 Iterable<Float> elems3,
                                 @Nonnull
                                 Iterable<Float> elems4)
Constructs a new updatable set which merge the elements of the specified iterables.

Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
elems4 - the fourth source of elements for the returned set
Returns:
a new updatable set which merge the elements of the specified iterables

newUpdatableSet

FloatSet newUpdatableSet(@Nonnull
                         Iterable<Float> elems1,
                         @Nonnull
                         Iterable<Float> elems2,
                         @Nonnull
                         Iterable<Float> elems3,
                         @Nonnull
                         Iterable<Float> elems4,
                         @Nonnull
                         Iterable<Float> elems5)
Constructs a new updatable set which merge the elements of the specified iterables.

Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
elems4 - the fourth source of elements for the returned set
elems5 - the fifth source of elements for the returned set
Returns:
a new updatable set which merge the elements of the specified iterables

newUpdatableSet

@Nonnull
FloatSet newUpdatableSet(@Nonnull
                                 Iterator<Float> elements)
Constructs a new updatable set containing the elements traversed by the specified iterator.

Parameters:
elements - the iterator from which elements are to be placed into the returned set
Returns:
a new updatable set containing the elements traversed by the specified iterator

newUpdatableSet

@Nonnull
FloatSet newUpdatableSet(@Nonnull
                                 Consumer<FloatConsumer> elementsSupplier)
Constructs a new updatable set of elements consumed by the callback within the given closure.

Example: TODO

Parameters:
elementsSupplier - the function which supply mappings for the returned set via the callback passed in
Returns:
a new updatable set of elements consumed by the callback within the given closure

newUpdatableSet

@Nonnull
FloatSet newUpdatableSet(@Nonnull
                                 float[] elements)
Constructs a new updatable set of elements from the given array.

Parameters:
elements - the array whose elements are to be placed into the returned set
Returns:
a new updatable set of elements from the given array

newUpdatableSet

@Nonnull
FloatSet newUpdatableSet(@Nonnull
                                 Float[] elements)
Constructs a new updatable set of elements from the given array.

Parameters:
elements - the array whose elements are to be placed into the returned set
Returns:
a new updatable set of elements from the given array
Throws:
NullPointerException - if elements array contain null elements

newUpdatableSetOf

@Nonnull
FloatSet newUpdatableSetOf(float e1)
Constructs a new updatable singleton set of the given element.

Parameters:
e1 - the sole element
Returns:
a new updatable singleton set of the given element

newUpdatableSetOf

@Nonnull
FloatSet newUpdatableSetOf(float e1,
                                   float e2)
Constructs a new updatable set of the two specified elements.

Parameters:
e1 - the first element
e2 - the second element
Returns:
a new updatable set of the two specified elements

newUpdatableSetOf

@Nonnull
FloatSet newUpdatableSetOf(float e1,
                                   float e2,
                                   float e3)
Constructs a new updatable set of the three specified elements.

Parameters:
e1 - the first element
e2 - the second element
e3 - the third element
Returns:
a new updatable set of the three specified elements

newUpdatableSetOf

@Nonnull
FloatSet newUpdatableSetOf(float e1,
                                   float e2,
                                   float e3,
                                   float e4)
Constructs a new updatable set of the four specified elements.

Parameters:
e1 - the first element
e2 - the second element
e3 - the third element
e4 - the fourth element
Returns:
a new updatable set of the four specified elements

newUpdatableSetOf

@Nonnull
FloatSet newUpdatableSetOf(float e1,
                                   float e2,
                                   float e3,
                                   float e4,
                                   float e5,
                                   float... restElements)
Constructs a new updatable set of the specified elements.

Parameters:
e1 - the first element
e2 - the second element
e3 - the third element
e4 - the fourth element
e5 - the fifth element
restElements - the rest elements to be placed into the set
Returns:
a new updatable set of the specified elements

newImmutableSet

@Nonnull
FloatSet newImmutableSet(@Nonnull
                                 Iterable<Float> elements,
                                 int expectedSize)
Constructs a new immutable set containing the elements in the specified iterable.

If the specified iterable is a Set the expectedSize argument is ignored.

Parameters:
elements - the iterable whose elements are to be placed into the returned set
expectedSize - the expected size of the returned set
Returns:
a new immutable set of the elements of the specified iterable

newImmutableSet

@Nonnull
FloatSet newImmutableSet(@Nonnull
                                 Iterable<Float> elems1,
                                 @Nonnull
                                 Iterable<Float> elems2,
                                 int expectedSize)
Constructs a new immutable set which merge the elements of the specified iterables.

Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
expectedSize - the expected size of the returned set
Returns:
a new immutable set which merge the elements of the specified iterables

newImmutableSet

@Nonnull
FloatSet newImmutableSet(@Nonnull
                                 Iterable<Float> elems1,
                                 @Nonnull
                                 Iterable<Float> elems2,
                                 @Nonnull
                                 Iterable<Float> elems3,
                                 int expectedSize)
Constructs a new immutable set which merge the elements of the specified iterables.

Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
expectedSize - the expected size of the returned set
Returns:
a new immutable set which merge the elements of the specified iterables

newImmutableSet

@Nonnull
FloatSet newImmutableSet(@Nonnull
                                 Iterable<Float> elems1,
                                 @Nonnull
                                 Iterable<Float> elems2,
                                 @Nonnull
                                 Iterable<Float> elems3,
                                 @Nonnull
                                 Iterable<Float> elems4,
                                 int expectedSize)
Constructs a new immutable set which merge the elements of the specified iterables.

Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
elems4 - the fourth source of elements for the returned set
expectedSize - the expected size of the returned set
Returns:
a new immutable set which merge the elements of the specified iterables

newImmutableSet

FloatSet newImmutableSet(@Nonnull
                         Iterable<Float> elems1,
                         @Nonnull
                         Iterable<Float> elems2,
                         @Nonnull
                         Iterable<Float> elems3,
                         @Nonnull
                         Iterable<Float> elems4,
                         @Nonnull
                         Iterable<Float> elems5,
                         int expectedSize)
Constructs a new immutable set which merge the elements of the specified iterables.

Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
elems4 - the fourth source of elements for the returned set
elems5 - the fifth source of elements for the returned set
expectedSize - the expected size of the returned set
Returns:
a new immutable set which merge the elements of the specified iterables

newImmutableSet

@Nonnull
FloatSet newImmutableSet(@Nonnull
                                 Iterator<Float> elements,
                                 int expectedSize)
Constructs a new immutable set containing the elements traversed by the specified iterator.

Parameters:
elements - the iterator from which elements are to be placed into the returned set
expectedSize - the expected size of the returned set
Returns:
a new immutable set containing the elements traversed by the specified iterator

newImmutableSet

@Nonnull
FloatSet newImmutableSet(@Nonnull
                                 Consumer<FloatConsumer> elementsSupplier,
                                 int expectedSize)
Constructs a new immutable set of elements consumed by the callback within the given closure.

Example: TODO

Parameters:
elementsSupplier - the function which supply mappings for the returned set via the callback passed in
expectedSize - the expected size of the returned set
Returns:
a new immutable set of elements consumed by the callback within the given closure

newImmutableSet

@Nonnull
FloatSet newImmutableSet(@Nonnull
                                 float[] elements,
                                 int expectedSize)
Constructs a new immutable set of elements from the given array.

Parameters:
elements - the array whose elements are to be placed into the returned set
expectedSize - the expected size of the returned set
Returns:
a new immutable set of elements from the given array

newImmutableSet

@Nonnull
FloatSet newImmutableSet(@Nonnull
                                 Float[] elements,
                                 int expectedSize)
Constructs a new immutable set of elements from the given array.

Parameters:
elements - the array whose elements are to be placed into the returned set
expectedSize - the expected size of the returned set
Returns:
a new immutable set of elements from the given array
Throws:
NullPointerException - if elements array contain null elements

newImmutableSet

@Nonnull
FloatSet newImmutableSet(@Nonnull
                                 Iterable<Float> elements)
Constructs a new immutable set containing the elements in the specified iterable.

Parameters:
elements - the iterable whose elements are to be placed into the returned set
Returns:
a new immutable set of the elements of the specified iterable

newImmutableSet

@Nonnull
FloatSet newImmutableSet(@Nonnull
                                 Iterable<Float> elems1,
                                 @Nonnull
                                 Iterable<Float> elems2)
Constructs a new immutable set which merge the elements of the specified iterables.

Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
Returns:
a new immutable set which merge the elements of the specified iterables

newImmutableSet

@Nonnull
FloatSet newImmutableSet(@Nonnull
                                 Iterable<Float> elems1,
                                 @Nonnull
                                 Iterable<Float> elems2,
                                 @Nonnull
                                 Iterable<Float> elems3)
Constructs a new immutable set which merge the elements of the specified iterables.

Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
Returns:
a new immutable set which merge the elements of the specified iterables

newImmutableSet

@Nonnull
FloatSet newImmutableSet(@Nonnull
                                 Iterable<Float> elems1,
                                 @Nonnull
                                 Iterable<Float> elems2,
                                 @Nonnull
                                 Iterable<Float> elems3,
                                 @Nonnull
                                 Iterable<Float> elems4)
Constructs a new immutable set which merge the elements of the specified iterables.

Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
elems4 - the fourth source of elements for the returned set
Returns:
a new immutable set which merge the elements of the specified iterables

newImmutableSet

FloatSet newImmutableSet(@Nonnull
                         Iterable<Float> elems1,
                         @Nonnull
                         Iterable<Float> elems2,
                         @Nonnull
                         Iterable<Float> elems3,
                         @Nonnull
                         Iterable<Float> elems4,
                         @Nonnull
                         Iterable<Float> elems5)
Constructs a new immutable set which merge the elements of the specified iterables.

Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
elems4 - the fourth source of elements for the returned set
elems5 - the fifth source of elements for the returned set
Returns:
a new immutable set which merge the elements of the specified iterables

newImmutableSet

@Nonnull
FloatSet newImmutableSet(@Nonnull
                                 Iterator<Float> elements)
Constructs a new immutable set containing the elements traversed by the specified iterator.

Parameters:
elements - the iterator from which elements are to be placed into the returned set
Returns:
a new immutable set containing the elements traversed by the specified iterator

newImmutableSet

@Nonnull
FloatSet newImmutableSet(@Nonnull
                                 Consumer<FloatConsumer> elementsSupplier)
Constructs a new immutable set of elements consumed by the callback within the given closure.

Example: TODO

Parameters:
elementsSupplier - the function which supply mappings for the returned set via the callback passed in
Returns:
a new immutable set of elements consumed by the callback within the given closure

newImmutableSet

@Nonnull
FloatSet newImmutableSet(@Nonnull
                                 float[] elements)
Constructs a new immutable set of elements from the given array.

Parameters:
elements - the array whose elements are to be placed into the returned set
Returns:
a new immutable set of elements from the given array

newImmutableSet

@Nonnull
FloatSet newImmutableSet(@Nonnull
                                 Float[] elements)
Constructs a new immutable set of elements from the given array.

Parameters:
elements - the array whose elements are to be placed into the returned set
Returns:
a new immutable set of elements from the given array
Throws:
NullPointerException - if elements array contain null elements

newImmutableSetOf

@Nonnull
FloatSet newImmutableSetOf(float e1)
Constructs a new immutable singleton set of the given element.

Parameters:
e1 - the sole element
Returns:
a new immutable singleton set of the given element

newImmutableSetOf

@Nonnull
FloatSet newImmutableSetOf(float e1,
                                   float e2)
Constructs a new immutable set of the two specified elements.

Parameters:
e1 - the first element
e2 - the second element
Returns:
a new immutable set of the two specified elements

newImmutableSetOf

@Nonnull
FloatSet newImmutableSetOf(float e1,
                                   float e2,
                                   float e3)
Constructs a new immutable set of the three specified elements.

Parameters:
e1 - the first element
e2 - the second element
e3 - the third element
Returns:
a new immutable set of the three specified elements

newImmutableSetOf

@Nonnull
FloatSet newImmutableSetOf(float e1,
                                   float e2,
                                   float e3,
                                   float e4)
Constructs a new immutable set of the four specified elements.

Parameters:
e1 - the first element
e2 - the second element
e3 - the third element
e4 - the fourth element
Returns:
a new immutable set of the four specified elements

newImmutableSetOf

@Nonnull
FloatSet newImmutableSetOf(float e1,
                                   float e2,
                                   float e3,
                                   float e4,
                                   float e5,
                                   float... restElements)
Constructs a new immutable set of the specified elements.

Parameters:
e1 - the first element
e2 - the second element
e3 - the third element
e4 - the fourth element
e5 - the fifth element
restElements - the rest elements to be placed into the set
Returns:
a new immutable set of the specified elements