com.koloboke.collect.set.hash
Interface HashByteSetFactory

All Superinterfaces:
ByteHashFactory<HashByteSetFactory>, ByteSetFactory<HashByteSetFactory>, ContainerFactory<HashByteSetFactory>, HashContainerFactory<HashByteSetFactory>

public interface HashByteSetFactory
extends ByteSetFactory<HashByteSetFactory>, ByteHashFactory<HashByteSetFactory>

An immutable factory of HashByteSets.

See Also:
HashByteSet, HashByteSets.getDefaultFactory(), @KolobokeSet

Method Summary
 HashByteSet newImmutableSet(byte[] elements)
          Constructs a new immutable set of elements from the given array.
 HashByteSet newImmutableSet(Byte[] elements)
          Constructs a new immutable set of elements from the given array.
 HashByteSet newImmutableSet(byte[] elements, int expectedSize)
          Constructs a new immutable set of elements from the given array.
 HashByteSet newImmutableSet(Byte[] elements, int expectedSize)
          Constructs a new immutable set of elements from the given array.
 HashByteSet newImmutableSet(Consumer<ByteConsumer> elementsSupplier)
          Constructs a new immutable set of elements consumed by the callback within the given closure.
 HashByteSet newImmutableSet(Consumer<ByteConsumer> elementsSupplier, int expectedSize)
          Constructs a new immutable set of elements consumed by the callback within the given closure.
 HashByteSet newImmutableSet(Iterable<Byte> elements)
          Constructs a new immutable set containing the elements in the specified iterable.
 HashByteSet newImmutableSet(Iterable<Byte> elements, int expectedSize)
          Constructs a new immutable set containing the elements in the specified iterable.
 HashByteSet newImmutableSet(Iterable<Byte> elems1, Iterable<Byte> elems2)
          Constructs a new immutable set which merge the elements of the specified iterables.
 HashByteSet newImmutableSet(Iterable<Byte> elems1, Iterable<Byte> elems2, int expectedSize)
          Constructs a new immutable set which merge the elements of the specified iterables.
 HashByteSet newImmutableSet(Iterable<Byte> elems1, Iterable<Byte> elems2, Iterable<Byte> elems3)
          Constructs a new immutable set which merge the elements of the specified iterables.
 HashByteSet newImmutableSet(Iterable<Byte> elems1, Iterable<Byte> elems2, Iterable<Byte> elems3, int expectedSize)
          Constructs a new immutable set which merge the elements of the specified iterables.
 HashByteSet newImmutableSet(Iterable<Byte> elems1, Iterable<Byte> elems2, Iterable<Byte> elems3, Iterable<Byte> elems4)
          Constructs a new immutable set which merge the elements of the specified iterables.
 HashByteSet newImmutableSet(Iterable<Byte> elems1, Iterable<Byte> elems2, Iterable<Byte> elems3, Iterable<Byte> elems4, int expectedSize)
          Constructs a new immutable set which merge the elements of the specified iterables.
 HashByteSet newImmutableSet(Iterable<Byte> elems1, Iterable<Byte> elems2, Iterable<Byte> elems3, Iterable<Byte> elems4, Iterable<Byte> elems5)
          Constructs a new immutable set which merge the elements of the specified iterables.
 HashByteSet newImmutableSet(Iterable<Byte> elems1, Iterable<Byte> elems2, Iterable<Byte> elems3, Iterable<Byte> elems4, Iterable<Byte> elems5, int expectedSize)
          Constructs a new immutable set which merge the elements of the specified iterables.
 HashByteSet newImmutableSet(Iterator<Byte> elements)
          Constructs a new immutable set containing the elements traversed by the specified iterator.
 HashByteSet newImmutableSet(Iterator<Byte> elements, int expectedSize)
          Constructs a new immutable set containing the elements traversed by the specified iterator.
 HashByteSet newImmutableSetOf(byte e1)
          Constructs a new immutable singleton set of the given element.
 HashByteSet newImmutableSetOf(byte e1, byte e2)
          Constructs a new immutable set of the two specified elements.
 HashByteSet newImmutableSetOf(byte e1, byte e2, byte e3)
          Constructs a new immutable set of the three specified elements.
 HashByteSet newImmutableSetOf(byte e1, byte e2, byte e3, byte e4)
          Constructs a new immutable set of the four specified elements.
 HashByteSet newImmutableSetOf(byte e1, byte e2, byte e3, byte e4, byte e5, byte... restElements)
          Constructs a new immutable set of the specified elements.
 HashByteSet newMutableSet()
          Constructs a new empty mutable set of the default expected size.
 HashByteSet newMutableSet(byte[] elements)
          Constructs a new mutable set of elements from the given array.
 HashByteSet newMutableSet(Byte[] elements)
          Constructs a new mutable set of elements from the given array.
 HashByteSet newMutableSet(byte[] elements, int expectedSize)
          Constructs a new mutable set of elements from the given array.
 HashByteSet newMutableSet(Byte[] elements, int expectedSize)
          Constructs a new mutable set of elements from the given array.
 HashByteSet newMutableSet(Consumer<ByteConsumer> elementsSupplier)
          Constructs a new mutable set of elements consumed by the callback within the given closure.
 HashByteSet newMutableSet(Consumer<ByteConsumer> elementsSupplier, int expectedSize)
          Constructs a new mutable set of elements consumed by the callback within the given closure.
 HashByteSet newMutableSet(int expectedSize)
          Constructs a new empty mutable set of the given expected size.
 HashByteSet newMutableSet(Iterable<Byte> elements)
          Constructs a new mutable set containing the elements in the specified iterable.
 HashByteSet newMutableSet(Iterable<Byte> elements, int expectedSize)
          Constructs a new mutable set containing the elements in the specified iterable.
 HashByteSet newMutableSet(Iterable<Byte> elems1, Iterable<Byte> elems2)
          Constructs a new mutable set which merge the elements of the specified iterables.
 HashByteSet newMutableSet(Iterable<Byte> elems1, Iterable<Byte> elems2, int expectedSize)
          Constructs a new mutable set which merge the elements of the specified iterables.
 HashByteSet newMutableSet(Iterable<Byte> elems1, Iterable<Byte> elems2, Iterable<Byte> elems3)
          Constructs a new mutable set which merge the elements of the specified iterables.
 HashByteSet newMutableSet(Iterable<Byte> elems1, Iterable<Byte> elems2, Iterable<Byte> elems3, int expectedSize)
          Constructs a new mutable set which merge the elements of the specified iterables.
 HashByteSet newMutableSet(Iterable<Byte> elems1, Iterable<Byte> elems2, Iterable<Byte> elems3, Iterable<Byte> elems4)
          Constructs a new mutable set which merge the elements of the specified iterables.
 HashByteSet newMutableSet(Iterable<Byte> elems1, Iterable<Byte> elems2, Iterable<Byte> elems3, Iterable<Byte> elems4, int expectedSize)
          Constructs a new mutable set which merge the elements of the specified iterables.
 HashByteSet newMutableSet(Iterable<Byte> elems1, Iterable<Byte> elems2, Iterable<Byte> elems3, Iterable<Byte> elems4, Iterable<Byte> elems5)
          Constructs a new mutable set which merge the elements of the specified iterables.
 HashByteSet newMutableSet(Iterable<Byte> elems1, Iterable<Byte> elems2, Iterable<Byte> elems3, Iterable<Byte> elems4, Iterable<Byte> elems5, int expectedSize)
          Constructs a new mutable set which merge the elements of the specified iterables.
 HashByteSet newMutableSet(Iterator<Byte> elements)
          Constructs a new mutable set containing the elements traversed by the specified iterator.
 HashByteSet newMutableSet(Iterator<Byte> elements, int expectedSize)
          Constructs a new mutable set containing the elements traversed by the specified iterator.
 HashByteSet newMutableSetOf(byte e1)
          Constructs a new mutable singleton set of the given element.
 HashByteSet newMutableSetOf(byte e1, byte e2)
          Constructs a new mutable set of the two specified elements.
 HashByteSet newMutableSetOf(byte e1, byte e2, byte e3)
          Constructs a new mutable set of the three specified elements.
 HashByteSet newMutableSetOf(byte e1, byte e2, byte e3, byte e4)
          Constructs a new mutable set of the four specified elements.
 HashByteSet newMutableSetOf(byte e1, byte e2, byte e3, byte e4, byte e5, byte... restElements)
          Constructs a new mutable set of the specified elements.
 HashByteSet newUpdatableSet()
          Constructs a new empty updatable set of the default expected size.
 HashByteSet newUpdatableSet(byte[] elements)
          Constructs a new updatable set of elements from the given array.
 HashByteSet newUpdatableSet(Byte[] elements)
          Constructs a new updatable set of elements from the given array.
 HashByteSet newUpdatableSet(byte[] elements, int expectedSize)
          Constructs a new updatable set of elements from the given array.
 HashByteSet newUpdatableSet(Byte[] elements, int expectedSize)
          Constructs a new updatable set of elements from the given array.
 HashByteSet newUpdatableSet(Consumer<ByteConsumer> elementsSupplier)
          Constructs a new updatable set of elements consumed by the callback within the given closure.
 HashByteSet newUpdatableSet(Consumer<ByteConsumer> elementsSupplier, int expectedSize)
          Constructs a new updatable set of elements consumed by the callback within the given closure.
 HashByteSet newUpdatableSet(int expectedSize)
          Constructs a new empty updatable set of the given expected size.
 HashByteSet newUpdatableSet(Iterable<Byte> elements)
          Constructs a new updatable set containing the elements in the specified iterable.
 HashByteSet newUpdatableSet(Iterable<Byte> elements, int expectedSize)
          Constructs a new updatable set containing the elements in the specified iterable.
 HashByteSet newUpdatableSet(Iterable<Byte> elems1, Iterable<Byte> elems2)
          Constructs a new updatable set which merge the elements of the specified iterables.
 HashByteSet newUpdatableSet(Iterable<Byte> elems1, Iterable<Byte> elems2, int expectedSize)
          Constructs a new updatable set which merge the elements of the specified iterables.
 HashByteSet newUpdatableSet(Iterable<Byte> elems1, Iterable<Byte> elems2, Iterable<Byte> elems3)
          Constructs a new updatable set which merge the elements of the specified iterables.
 HashByteSet newUpdatableSet(Iterable<Byte> elems1, Iterable<Byte> elems2, Iterable<Byte> elems3, int expectedSize)
          Constructs a new updatable set which merge the elements of the specified iterables.
 HashByteSet newUpdatableSet(Iterable<Byte> elems1, Iterable<Byte> elems2, Iterable<Byte> elems3, Iterable<Byte> elems4)
          Constructs a new updatable set which merge the elements of the specified iterables.
 HashByteSet newUpdatableSet(Iterable<Byte> elems1, Iterable<Byte> elems2, Iterable<Byte> elems3, Iterable<Byte> elems4, int expectedSize)
          Constructs a new updatable set which merge the elements of the specified iterables.
 HashByteSet newUpdatableSet(Iterable<Byte> elems1, Iterable<Byte> elems2, Iterable<Byte> elems3, Iterable<Byte> elems4, Iterable<Byte> elems5)
          Constructs a new updatable set which merge the elements of the specified iterables.
 HashByteSet newUpdatableSet(Iterable<Byte> elems1, Iterable<Byte> elems2, Iterable<Byte> elems3, Iterable<Byte> elems4, Iterable<Byte> elems5, int expectedSize)
          Constructs a new updatable set which merge the elements of the specified iterables.
 HashByteSet newUpdatableSet(Iterator<Byte> elements)
          Constructs a new updatable set containing the elements traversed by the specified iterator.
 HashByteSet newUpdatableSet(Iterator<Byte> elements, int expectedSize)
          Constructs a new updatable set containing the elements traversed by the specified iterator.
 HashByteSet newUpdatableSetOf(byte e1)
          Constructs a new updatable singleton set of the given element.
 HashByteSet newUpdatableSetOf(byte e1, byte e2)
          Constructs a new updatable set of the two specified elements.
 HashByteSet newUpdatableSetOf(byte e1, byte e2, byte e3)
          Constructs a new updatable set of the three specified elements.
 HashByteSet newUpdatableSetOf(byte e1, byte e2, byte e3, byte e4)
          Constructs a new updatable set of the four specified elements.
 HashByteSet newUpdatableSetOf(byte e1, byte e2, byte e3, byte e4, byte e5, byte... restElements)
          Constructs a new updatable set of the specified elements.
 
Methods inherited from interface com.koloboke.collect.hash.ByteHashFactory
getLowerKeyDomainBound, getUpperKeyDomainBound, withKeysDomain, withKeysDomainComplement
 
Methods inherited from interface com.koloboke.collect.hash.HashContainerFactory
getHashConfig, withHashConfig
 
Methods inherited from interface com.koloboke.collect.ContainerFactory
getDefaultExpectedSize, withDefaultExpectedSize
 

Method Detail

newMutableSet

@Nonnull
HashByteSet newMutableSet()
Description copied from interface: ByteSetFactory
Constructs a new empty mutable set of the default expected size.

Specified by:
newMutableSet in interface ByteSetFactory<HashByteSetFactory>
Returns:
a new empty mutable set

newMutableSet

@Nonnull
HashByteSet newMutableSet(int expectedSize)
Description copied from interface: ByteSetFactory
Constructs a new empty mutable set of the given expected size.

Specified by:
newMutableSet in interface ByteSetFactory<HashByteSetFactory>
Parameters:
expectedSize - the expected size of the returned set
Returns:
a new empty mutable set of the given expected size

newMutableSet

@Nonnull
HashByteSet newMutableSet(@Nonnull
                                  Iterable<Byte> elements,
                                  int expectedSize)
Description copied from interface: ByteSetFactory
Constructs a new mutable set containing the elements in the specified iterable.

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

Specified by:
newMutableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newMutableSet(@Nonnull
                                  Iterable<Byte> elems1,
                                  @Nonnull
                                  Iterable<Byte> elems2,
                                  int expectedSize)
Description copied from interface: ByteSetFactory
Constructs a new mutable set which merge the elements of the specified iterables.

Specified by:
newMutableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newMutableSet(@Nonnull
                                  Iterable<Byte> elems1,
                                  @Nonnull
                                  Iterable<Byte> elems2,
                                  @Nonnull
                                  Iterable<Byte> elems3,
                                  int expectedSize)
Description copied from interface: ByteSetFactory
Constructs a new mutable set which merge the elements of the specified iterables.

Specified by:
newMutableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newMutableSet(@Nonnull
                                  Iterable<Byte> elems1,
                                  @Nonnull
                                  Iterable<Byte> elems2,
                                  @Nonnull
                                  Iterable<Byte> elems3,
                                  @Nonnull
                                  Iterable<Byte> elems4,
                                  int expectedSize)
Description copied from interface: ByteSetFactory
Constructs a new mutable set which merge the elements of the specified iterables.

Specified by:
newMutableSet in interface ByteSetFactory<HashByteSetFactory>
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

@Nonnull
HashByteSet newMutableSet(@Nonnull
                                  Iterable<Byte> elems1,
                                  @Nonnull
                                  Iterable<Byte> elems2,
                                  @Nonnull
                                  Iterable<Byte> elems3,
                                  @Nonnull
                                  Iterable<Byte> elems4,
                                  @Nonnull
                                  Iterable<Byte> elems5,
                                  int expectedSize)
Description copied from interface: ByteSetFactory
Constructs a new mutable set which merge the elements of the specified iterables.

Specified by:
newMutableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newMutableSet(@Nonnull
                                  Iterator<Byte> elements,
                                  int expectedSize)
Description copied from interface: ByteSetFactory
Constructs a new mutable set containing the elements traversed by the specified iterator.

Specified by:
newMutableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newMutableSet(@Nonnull
                                  Consumer<ByteConsumer> elementsSupplier,
                                  int expectedSize)
Description copied from interface: ByteSetFactory
Constructs a new mutable set of elements consumed by the callback within the given closure.

Example: TODO

Specified by:
newMutableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newMutableSet(@Nonnull
                                  byte[] elements,
                                  int expectedSize)
Description copied from interface: ByteSetFactory
Constructs a new mutable set of elements from the given array.

Specified by:
newMutableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newMutableSet(@Nonnull
                                  Byte[] elements,
                                  int expectedSize)
Description copied from interface: ByteSetFactory
Constructs a new mutable set of elements from the given array.

Specified by:
newMutableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newMutableSet(@Nonnull
                                  Iterable<Byte> elements)
Description copied from interface: ByteSetFactory
Constructs a new mutable set containing the elements in the specified iterable.

Specified by:
newMutableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newMutableSet(@Nonnull
                                  Iterable<Byte> elems1,
                                  @Nonnull
                                  Iterable<Byte> elems2)
Description copied from interface: ByteSetFactory
Constructs a new mutable set which merge the elements of the specified iterables.

Specified by:
newMutableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newMutableSet(@Nonnull
                                  Iterable<Byte> elems1,
                                  @Nonnull
                                  Iterable<Byte> elems2,
                                  @Nonnull
                                  Iterable<Byte> elems3)
Description copied from interface: ByteSetFactory
Constructs a new mutable set which merge the elements of the specified iterables.

Specified by:
newMutableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newMutableSet(@Nonnull
                                  Iterable<Byte> elems1,
                                  @Nonnull
                                  Iterable<Byte> elems2,
                                  @Nonnull
                                  Iterable<Byte> elems3,
                                  @Nonnull
                                  Iterable<Byte> elems4)
Description copied from interface: ByteSetFactory
Constructs a new mutable set which merge the elements of the specified iterables.

Specified by:
newMutableSet in interface ByteSetFactory<HashByteSetFactory>
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

@Nonnull
HashByteSet newMutableSet(@Nonnull
                                  Iterable<Byte> elems1,
                                  @Nonnull
                                  Iterable<Byte> elems2,
                                  @Nonnull
                                  Iterable<Byte> elems3,
                                  @Nonnull
                                  Iterable<Byte> elems4,
                                  @Nonnull
                                  Iterable<Byte> elems5)
Description copied from interface: ByteSetFactory
Constructs a new mutable set which merge the elements of the specified iterables.

Specified by:
newMutableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newMutableSet(@Nonnull
                                  Iterator<Byte> elements)
Description copied from interface: ByteSetFactory
Constructs a new mutable set containing the elements traversed by the specified iterator.

Specified by:
newMutableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newMutableSet(@Nonnull
                                  Consumer<ByteConsumer> elementsSupplier)
Description copied from interface: ByteSetFactory
Constructs a new mutable set of elements consumed by the callback within the given closure.

Example: TODO

Specified by:
newMutableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newMutableSet(@Nonnull
                                  byte[] elements)
Description copied from interface: ByteSetFactory
Constructs a new mutable set of elements from the given array.

Specified by:
newMutableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newMutableSet(@Nonnull
                                  Byte[] elements)
Description copied from interface: ByteSetFactory
Constructs a new mutable set of elements from the given array.

Specified by:
newMutableSet in interface ByteSetFactory<HashByteSetFactory>
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

newMutableSetOf

@Nonnull
HashByteSet newMutableSetOf(byte e1)
Description copied from interface: ByteSetFactory
Constructs a new mutable singleton set of the given element.

Specified by:
newMutableSetOf in interface ByteSetFactory<HashByteSetFactory>
Parameters:
e1 - the sole element
Returns:
a new mutable singleton set of the given element

newMutableSetOf

@Nonnull
HashByteSet newMutableSetOf(byte e1,
                                    byte e2)
Description copied from interface: ByteSetFactory
Constructs a new mutable set of the two specified elements.

Specified by:
newMutableSetOf in interface ByteSetFactory<HashByteSetFactory>
Parameters:
e1 - the first element
e2 - the second element
Returns:
a new mutable set of the two specified elements

newMutableSetOf

@Nonnull
HashByteSet newMutableSetOf(byte e1,
                                    byte e2,
                                    byte e3)
Description copied from interface: ByteSetFactory
Constructs a new mutable set of the three specified elements.

Specified by:
newMutableSetOf in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newMutableSetOf(byte e1,
                                    byte e2,
                                    byte e3,
                                    byte e4)
Description copied from interface: ByteSetFactory
Constructs a new mutable set of the four specified elements.

Specified by:
newMutableSetOf in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newMutableSetOf(byte e1,
                                    byte e2,
                                    byte e3,
                                    byte e4,
                                    byte e5,
                                    byte... restElements)
Description copied from interface: ByteSetFactory
Constructs a new mutable set of the specified elements.

Specified by:
newMutableSetOf in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newUpdatableSet()
Description copied from interface: ByteSetFactory
Constructs a new empty updatable set of the default expected size.

Specified by:
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>
Returns:
a new empty updatable set

newUpdatableSet

@Nonnull
HashByteSet newUpdatableSet(int expectedSize)
Description copied from interface: ByteSetFactory
Constructs a new empty updatable set of the given expected size.

Specified by:
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>
Parameters:
expectedSize - the expected size of the returned set
Returns:
a new empty updatable set of the given expected size

newUpdatableSet

@Nonnull
HashByteSet newUpdatableSet(@Nonnull
                                    Iterable<Byte> elements,
                                    int expectedSize)
Description copied from interface: ByteSetFactory
Constructs a new updatable set containing the elements in the specified iterable.

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

Specified by:
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newUpdatableSet(@Nonnull
                                    Iterable<Byte> elems1,
                                    @Nonnull
                                    Iterable<Byte> elems2,
                                    int expectedSize)
Description copied from interface: ByteSetFactory
Constructs a new updatable set which merge the elements of the specified iterables.

Specified by:
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newUpdatableSet(@Nonnull
                                    Iterable<Byte> elems1,
                                    @Nonnull
                                    Iterable<Byte> elems2,
                                    @Nonnull
                                    Iterable<Byte> elems3,
                                    int expectedSize)
Description copied from interface: ByteSetFactory
Constructs a new updatable set which merge the elements of the specified iterables.

Specified by:
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newUpdatableSet(@Nonnull
                                    Iterable<Byte> elems1,
                                    @Nonnull
                                    Iterable<Byte> elems2,
                                    @Nonnull
                                    Iterable<Byte> elems3,
                                    @Nonnull
                                    Iterable<Byte> elems4,
                                    int expectedSize)
Description copied from interface: ByteSetFactory
Constructs a new updatable set which merge the elements of the specified iterables.

Specified by:
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>
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

@Nonnull
HashByteSet newUpdatableSet(@Nonnull
                                    Iterable<Byte> elems1,
                                    @Nonnull
                                    Iterable<Byte> elems2,
                                    @Nonnull
                                    Iterable<Byte> elems3,
                                    @Nonnull
                                    Iterable<Byte> elems4,
                                    @Nonnull
                                    Iterable<Byte> elems5,
                                    int expectedSize)
Description copied from interface: ByteSetFactory
Constructs a new updatable set which merge the elements of the specified iterables.

Specified by:
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newUpdatableSet(@Nonnull
                                    Iterator<Byte> elements,
                                    int expectedSize)
Description copied from interface: ByteSetFactory
Constructs a new updatable set containing the elements traversed by the specified iterator.

Specified by:
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newUpdatableSet(@Nonnull
                                    Consumer<ByteConsumer> elementsSupplier,
                                    int expectedSize)
Description copied from interface: ByteSetFactory
Constructs a new updatable set of elements consumed by the callback within the given closure.

Example: TODO

Specified by:
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newUpdatableSet(@Nonnull
                                    byte[] elements,
                                    int expectedSize)
Description copied from interface: ByteSetFactory
Constructs a new updatable set of elements from the given array.

Specified by:
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newUpdatableSet(@Nonnull
                                    Byte[] elements,
                                    int expectedSize)
Description copied from interface: ByteSetFactory
Constructs a new updatable set of elements from the given array.

Specified by:
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newUpdatableSet(@Nonnull
                                    Iterable<Byte> elements)
Description copied from interface: ByteSetFactory
Constructs a new updatable set containing the elements in the specified iterable.

Specified by:
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newUpdatableSet(@Nonnull
                                    Iterable<Byte> elems1,
                                    @Nonnull
                                    Iterable<Byte> elems2)
Description copied from interface: ByteSetFactory
Constructs a new updatable set which merge the elements of the specified iterables.

Specified by:
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newUpdatableSet(@Nonnull
                                    Iterable<Byte> elems1,
                                    @Nonnull
                                    Iterable<Byte> elems2,
                                    @Nonnull
                                    Iterable<Byte> elems3)
Description copied from interface: ByteSetFactory
Constructs a new updatable set which merge the elements of the specified iterables.

Specified by:
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newUpdatableSet(@Nonnull
                                    Iterable<Byte> elems1,
                                    @Nonnull
                                    Iterable<Byte> elems2,
                                    @Nonnull
                                    Iterable<Byte> elems3,
                                    @Nonnull
                                    Iterable<Byte> elems4)
Description copied from interface: ByteSetFactory
Constructs a new updatable set which merge the elements of the specified iterables.

Specified by:
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>
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

@Nonnull
HashByteSet newUpdatableSet(@Nonnull
                                    Iterable<Byte> elems1,
                                    @Nonnull
                                    Iterable<Byte> elems2,
                                    @Nonnull
                                    Iterable<Byte> elems3,
                                    @Nonnull
                                    Iterable<Byte> elems4,
                                    @Nonnull
                                    Iterable<Byte> elems5)
Description copied from interface: ByteSetFactory
Constructs a new updatable set which merge the elements of the specified iterables.

Specified by:
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newUpdatableSet(@Nonnull
                                    Iterator<Byte> elements)
Description copied from interface: ByteSetFactory
Constructs a new updatable set containing the elements traversed by the specified iterator.

Specified by:
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newUpdatableSet(@Nonnull
                                    Consumer<ByteConsumer> elementsSupplier)
Description copied from interface: ByteSetFactory
Constructs a new updatable set of elements consumed by the callback within the given closure.

Example: TODO

Specified by:
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newUpdatableSet(@Nonnull
                                    byte[] elements)
Description copied from interface: ByteSetFactory
Constructs a new updatable set of elements from the given array.

Specified by:
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newUpdatableSet(@Nonnull
                                    Byte[] elements)
Description copied from interface: ByteSetFactory
Constructs a new updatable set of elements from the given array.

Specified by:
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>
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

newUpdatableSetOf

@Nonnull
HashByteSet newUpdatableSetOf(byte e1)
Description copied from interface: ByteSetFactory
Constructs a new updatable singleton set of the given element.

Specified by:
newUpdatableSetOf in interface ByteSetFactory<HashByteSetFactory>
Parameters:
e1 - the sole element
Returns:
a new updatable singleton set of the given element

newUpdatableSetOf

@Nonnull
HashByteSet newUpdatableSetOf(byte e1,
                                      byte e2)
Description copied from interface: ByteSetFactory
Constructs a new updatable set of the two specified elements.

Specified by:
newUpdatableSetOf in interface ByteSetFactory<HashByteSetFactory>
Parameters:
e1 - the first element
e2 - the second element
Returns:
a new updatable set of the two specified elements

newUpdatableSetOf

@Nonnull
HashByteSet newUpdatableSetOf(byte e1,
                                      byte e2,
                                      byte e3)
Description copied from interface: ByteSetFactory
Constructs a new updatable set of the three specified elements.

Specified by:
newUpdatableSetOf in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newUpdatableSetOf(byte e1,
                                      byte e2,
                                      byte e3,
                                      byte e4)
Description copied from interface: ByteSetFactory
Constructs a new updatable set of the four specified elements.

Specified by:
newUpdatableSetOf in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newUpdatableSetOf(byte e1,
                                      byte e2,
                                      byte e3,
                                      byte e4,
                                      byte e5,
                                      byte... restElements)
Description copied from interface: ByteSetFactory
Constructs a new updatable set of the specified elements.

Specified by:
newUpdatableSetOf in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newImmutableSet(@Nonnull
                                    Iterable<Byte> elements,
                                    int expectedSize)
Description copied from interface: ByteSetFactory
Constructs a new immutable set containing the elements in the specified iterable.

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

Specified by:
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newImmutableSet(@Nonnull
                                    Iterable<Byte> elems1,
                                    @Nonnull
                                    Iterable<Byte> elems2,
                                    int expectedSize)
Description copied from interface: ByteSetFactory
Constructs a new immutable set which merge the elements of the specified iterables.

Specified by:
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newImmutableSet(@Nonnull
                                    Iterable<Byte> elems1,
                                    @Nonnull
                                    Iterable<Byte> elems2,
                                    @Nonnull
                                    Iterable<Byte> elems3,
                                    int expectedSize)
Description copied from interface: ByteSetFactory
Constructs a new immutable set which merge the elements of the specified iterables.

Specified by:
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newImmutableSet(@Nonnull
                                    Iterable<Byte> elems1,
                                    @Nonnull
                                    Iterable<Byte> elems2,
                                    @Nonnull
                                    Iterable<Byte> elems3,
                                    @Nonnull
                                    Iterable<Byte> elems4,
                                    int expectedSize)
Description copied from interface: ByteSetFactory
Constructs a new immutable set which merge the elements of the specified iterables.

Specified by:
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>
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

@Nonnull
HashByteSet newImmutableSet(@Nonnull
                                    Iterable<Byte> elems1,
                                    @Nonnull
                                    Iterable<Byte> elems2,
                                    @Nonnull
                                    Iterable<Byte> elems3,
                                    @Nonnull
                                    Iterable<Byte> elems4,
                                    @Nonnull
                                    Iterable<Byte> elems5,
                                    int expectedSize)
Description copied from interface: ByteSetFactory
Constructs a new immutable set which merge the elements of the specified iterables.

Specified by:
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newImmutableSet(@Nonnull
                                    Iterator<Byte> elements,
                                    int expectedSize)
Description copied from interface: ByteSetFactory
Constructs a new immutable set containing the elements traversed by the specified iterator.

Specified by:
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newImmutableSet(@Nonnull
                                    Consumer<ByteConsumer> elementsSupplier,
                                    int expectedSize)
Description copied from interface: ByteSetFactory
Constructs a new immutable set of elements consumed by the callback within the given closure.

Example: TODO

Specified by:
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newImmutableSet(@Nonnull
                                    byte[] elements,
                                    int expectedSize)
Description copied from interface: ByteSetFactory
Constructs a new immutable set of elements from the given array.

Specified by:
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newImmutableSet(@Nonnull
                                    Byte[] elements,
                                    int expectedSize)
Description copied from interface: ByteSetFactory
Constructs a new immutable set of elements from the given array.

Specified by:
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newImmutableSet(@Nonnull
                                    Iterable<Byte> elements)
Description copied from interface: ByteSetFactory
Constructs a new immutable set containing the elements in the specified iterable.

Specified by:
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newImmutableSet(@Nonnull
                                    Iterable<Byte> elems1,
                                    @Nonnull
                                    Iterable<Byte> elems2)
Description copied from interface: ByteSetFactory
Constructs a new immutable set which merge the elements of the specified iterables.

Specified by:
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newImmutableSet(@Nonnull
                                    Iterable<Byte> elems1,
                                    @Nonnull
                                    Iterable<Byte> elems2,
                                    @Nonnull
                                    Iterable<Byte> elems3)
Description copied from interface: ByteSetFactory
Constructs a new immutable set which merge the elements of the specified iterables.

Specified by:
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newImmutableSet(@Nonnull
                                    Iterable<Byte> elems1,
                                    @Nonnull
                                    Iterable<Byte> elems2,
                                    @Nonnull
                                    Iterable<Byte> elems3,
                                    @Nonnull
                                    Iterable<Byte> elems4)
Description copied from interface: ByteSetFactory
Constructs a new immutable set which merge the elements of the specified iterables.

Specified by:
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>
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

@Nonnull
HashByteSet newImmutableSet(@Nonnull
                                    Iterable<Byte> elems1,
                                    @Nonnull
                                    Iterable<Byte> elems2,
                                    @Nonnull
                                    Iterable<Byte> elems3,
                                    @Nonnull
                                    Iterable<Byte> elems4,
                                    @Nonnull
                                    Iterable<Byte> elems5)
Description copied from interface: ByteSetFactory
Constructs a new immutable set which merge the elements of the specified iterables.

Specified by:
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newImmutableSet(@Nonnull
                                    Iterator<Byte> elements)
Description copied from interface: ByteSetFactory
Constructs a new immutable set containing the elements traversed by the specified iterator.

Specified by:
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newImmutableSet(@Nonnull
                                    Consumer<ByteConsumer> elementsSupplier)
Description copied from interface: ByteSetFactory
Constructs a new immutable set of elements consumed by the callback within the given closure.

Example: TODO

Specified by:
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newImmutableSet(@Nonnull
                                    byte[] elements)
Description copied from interface: ByteSetFactory
Constructs a new immutable set of elements from the given array.

Specified by:
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newImmutableSet(@Nonnull
                                    Byte[] elements)
Description copied from interface: ByteSetFactory
Constructs a new immutable set of elements from the given array.

Specified by:
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>
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

newImmutableSetOf

@Nonnull
HashByteSet newImmutableSetOf(byte e1)
Description copied from interface: ByteSetFactory
Constructs a new immutable singleton set of the given element.

Specified by:
newImmutableSetOf in interface ByteSetFactory<HashByteSetFactory>
Parameters:
e1 - the sole element
Returns:
a new immutable singleton set of the given element

newImmutableSetOf

@Nonnull
HashByteSet newImmutableSetOf(byte e1,
                                      byte e2)
Description copied from interface: ByteSetFactory
Constructs a new immutable set of the two specified elements.

Specified by:
newImmutableSetOf in interface ByteSetFactory<HashByteSetFactory>
Parameters:
e1 - the first element
e2 - the second element
Returns:
a new immutable set of the two specified elements

newImmutableSetOf

@Nonnull
HashByteSet newImmutableSetOf(byte e1,
                                      byte e2,
                                      byte e3)
Description copied from interface: ByteSetFactory
Constructs a new immutable set of the three specified elements.

Specified by:
newImmutableSetOf in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newImmutableSetOf(byte e1,
                                      byte e2,
                                      byte e3,
                                      byte e4)
Description copied from interface: ByteSetFactory
Constructs a new immutable set of the four specified elements.

Specified by:
newImmutableSetOf in interface ByteSetFactory<HashByteSetFactory>
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
HashByteSet newImmutableSetOf(byte e1,
                                      byte e2,
                                      byte e3,
                                      byte e4,
                                      byte e5,
                                      byte... restElements)
Description copied from interface: ByteSetFactory
Constructs a new immutable set of the specified elements.

Specified by:
newImmutableSetOf in interface ByteSetFactory<HashByteSetFactory>
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