public final class HashByteSets extends Object
HashByteSets, and
the default HashByteSetFactory static provider (getDefaultFactory()).HashByteSet,
@KolobokeSet| Modifier and Type | Method and Description |
|---|---|
static HashByteSetFactory |
getDefaultFactory()
Returns the default implementation of
HashByteSetFactory, to which all static methods
in this class delegate. |
static HashByteSet |
newImmutableSet(byte[] elements)
Constructs a new immutable set of elements from the given array.
|
static HashByteSet |
newImmutableSet(Byte[] elements)
Constructs a new immutable set of elements from the given array.
|
static HashByteSet |
newImmutableSet(byte[] elements,
int expectedSize)
Constructs a new immutable set of elements from the given array.
|
static HashByteSet |
newImmutableSet(Byte[] elements,
int expectedSize)
Constructs a new immutable set of elements from the given array.
|
static HashByteSet |
newImmutableSet(Consumer<ByteConsumer> elementsSupplier)
Constructs a new immutable set of elements consumed by the callback within the given closure.
|
static HashByteSet |
newImmutableSet(Consumer<ByteConsumer> elementsSupplier,
int expectedSize)
Constructs a new immutable set of elements consumed by the callback within the given closure.
|
static HashByteSet |
newImmutableSet(Iterable<Byte> elements)
Constructs a new immutable set containing the elements in the specified iterable.
|
static HashByteSet |
newImmutableSet(Iterable<Byte> elements,
int expectedSize)
Constructs a new immutable set containing the elements in the specified iterable.
|
static HashByteSet |
newImmutableSet(Iterable<Byte> elems1,
Iterable<Byte> elems2)
Constructs a new immutable set which merge the elements of the specified iterables.
|
static HashByteSet |
newImmutableSet(Iterable<Byte> elems1,
Iterable<Byte> elems2,
int expectedSize)
Constructs a new immutable set which merge the elements of the specified iterables.
|
static HashByteSet |
newImmutableSet(Iterable<Byte> elems1,
Iterable<Byte> elems2,
Iterable<Byte> elems3)
Constructs a new immutable set which merge the elements of the specified iterables.
|
static 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.
|
static 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.
|
static 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.
|
static 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.
|
static 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.
|
static HashByteSet |
newImmutableSet(Iterator<Byte> elements)
Constructs a new immutable set containing the elements traversed by the specified iterator.
|
static HashByteSet |
newImmutableSet(Iterator<Byte> elements,
int expectedSize)
Constructs a new immutable set containing the elements traversed by the specified iterator.
|
static HashByteSet |
newImmutableSetOf(byte e1)
Constructs a new immutable singleton set of the given element.
|
static HashByteSet |
newImmutableSetOf(byte e1,
byte e2)
Constructs a new immutable set of the two specified elements.
|
static HashByteSet |
newImmutableSetOf(byte e1,
byte e2,
byte e3)
Constructs a new immutable set of the three specified elements.
|
static HashByteSet |
newImmutableSetOf(byte e1,
byte e2,
byte e3,
byte e4)
Constructs a new immutable set of the four specified elements.
|
static HashByteSet |
newImmutableSetOf(byte e1,
byte e2,
byte e3,
byte e4,
byte e5,
byte... restElements)
Constructs a new immutable set of the specified elements.
|
static HashByteSet |
newMutableSet()
Constructs a new empty mutable set of the default expected size.
|
static HashByteSet |
newMutableSet(byte[] elements)
Constructs a new mutable set of elements from the given array.
|
static HashByteSet |
newMutableSet(Byte[] elements)
Constructs a new mutable set of elements from the given array.
|
static HashByteSet |
newMutableSet(byte[] elements,
int expectedSize)
Constructs a new mutable set of elements from the given array.
|
static HashByteSet |
newMutableSet(Byte[] elements,
int expectedSize)
Constructs a new mutable set of elements from the given array.
|
static HashByteSet |
newMutableSet(Consumer<ByteConsumer> elementsSupplier)
Constructs a new mutable set of elements consumed by the callback within the given closure.
|
static HashByteSet |
newMutableSet(Consumer<ByteConsumer> elementsSupplier,
int expectedSize)
Constructs a new mutable set of elements consumed by the callback within the given closure.
|
static HashByteSet |
newMutableSet(int expectedSize)
Constructs a new empty mutable set of the given expected size.
|
static HashByteSet |
newMutableSet(Iterable<Byte> elements)
Constructs a new mutable set containing the elements in the specified iterable.
|
static HashByteSet |
newMutableSet(Iterable<Byte> elements,
int expectedSize)
Constructs a new mutable set containing the elements in the specified iterable.
|
static HashByteSet |
newMutableSet(Iterable<Byte> elems1,
Iterable<Byte> elems2)
Constructs a new mutable set which merge the elements of the specified iterables.
|
static HashByteSet |
newMutableSet(Iterable<Byte> elems1,
Iterable<Byte> elems2,
int expectedSize)
Constructs a new mutable set which merge the elements of the specified iterables.
|
static HashByteSet |
newMutableSet(Iterable<Byte> elems1,
Iterable<Byte> elems2,
Iterable<Byte> elems3)
Constructs a new mutable set which merge the elements of the specified iterables.
|
static 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.
|
static 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.
|
static 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.
|
static 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.
|
static 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.
|
static HashByteSet |
newMutableSet(Iterator<Byte> elements)
Constructs a new mutable set containing the elements traversed by the specified iterator.
|
static HashByteSet |
newMutableSet(Iterator<Byte> elements,
int expectedSize)
Constructs a new mutable set containing the elements traversed by the specified iterator.
|
static HashByteSet |
newMutableSetOf(byte e1)
Constructs a new mutable singleton set of the given element.
|
static HashByteSet |
newMutableSetOf(byte e1,
byte e2)
Constructs a new mutable set of the two specified elements.
|
static HashByteSet |
newMutableSetOf(byte e1,
byte e2,
byte e3)
Constructs a new mutable set of the three specified elements.
|
static HashByteSet |
newMutableSetOf(byte e1,
byte e2,
byte e3,
byte e4)
Constructs a new mutable set of the four specified elements.
|
static HashByteSet |
newMutableSetOf(byte e1,
byte e2,
byte e3,
byte e4,
byte e5,
byte... restElements)
Constructs a new mutable set of the specified elements.
|
static HashByteSet |
newUpdatableSet()
Constructs a new empty updatable set of the default expected size.
|
static HashByteSet |
newUpdatableSet(byte[] elements)
Constructs a new updatable set of elements from the given array.
|
static HashByteSet |
newUpdatableSet(Byte[] elements)
Constructs a new updatable set of elements from the given array.
|
static HashByteSet |
newUpdatableSet(byte[] elements,
int expectedSize)
Constructs a new updatable set of elements from the given array.
|
static HashByteSet |
newUpdatableSet(Byte[] elements,
int expectedSize)
Constructs a new updatable set of elements from the given array.
|
static HashByteSet |
newUpdatableSet(Consumer<ByteConsumer> elementsSupplier)
Constructs a new updatable set of elements consumed by the callback within the given closure.
|
static HashByteSet |
newUpdatableSet(Consumer<ByteConsumer> elementsSupplier,
int expectedSize)
Constructs a new updatable set of elements consumed by the callback within the given closure.
|
static HashByteSet |
newUpdatableSet(int expectedSize)
Constructs a new empty updatable set of the given expected size.
|
static HashByteSet |
newUpdatableSet(Iterable<Byte> elements)
Constructs a new updatable set containing the elements in the specified iterable.
|
static HashByteSet |
newUpdatableSet(Iterable<Byte> elements,
int expectedSize)
Constructs a new updatable set containing the elements in the specified iterable.
|
static HashByteSet |
newUpdatableSet(Iterable<Byte> elems1,
Iterable<Byte> elems2)
Constructs a new updatable set which merge the elements of the specified iterables.
|
static HashByteSet |
newUpdatableSet(Iterable<Byte> elems1,
Iterable<Byte> elems2,
int expectedSize)
Constructs a new updatable set which merge the elements of the specified iterables.
|
static HashByteSet |
newUpdatableSet(Iterable<Byte> elems1,
Iterable<Byte> elems2,
Iterable<Byte> elems3)
Constructs a new updatable set which merge the elements of the specified iterables.
|
static 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.
|
static 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.
|
static 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.
|
static 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.
|
static 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.
|
static HashByteSet |
newUpdatableSet(Iterator<Byte> elements)
Constructs a new updatable set containing the elements traversed by the specified iterator.
|
static HashByteSet |
newUpdatableSet(Iterator<Byte> elements,
int expectedSize)
Constructs a new updatable set containing the elements traversed by the specified iterator.
|
static HashByteSet |
newUpdatableSetOf(byte e1)
Constructs a new updatable singleton set of the given element.
|
static HashByteSet |
newUpdatableSetOf(byte e1,
byte e2)
Constructs a new updatable set of the two specified elements.
|
static HashByteSet |
newUpdatableSetOf(byte e1,
byte e2,
byte e3)
Constructs a new updatable set of the three specified elements.
|
static HashByteSet |
newUpdatableSetOf(byte e1,
byte e2,
byte e3,
byte e4)
Constructs a new updatable set of the four specified elements.
|
static HashByteSet |
newUpdatableSetOf(byte e1,
byte e2,
byte e3,
byte e4,
byte e5,
byte... restElements)
Constructs a new updatable set of the specified elements.
|
@Nonnull public static HashByteSetFactory getDefaultFactory()
HashByteSetFactory, to which all static methods
in this class delegate.HashByteSetFactoryRuntimeException - if no implementations of HashByteSetFactory are provided@Nonnull public static HashByteSet newMutableSet()
This method simply delegates to getDefaultFactory().newMutableSet().
@Nonnull public static HashByteSet newMutableSet(int expectedSize)
This method simply delegates to getDefaultFactory().newMutableSet(expectedSize).
expectedSize - the expected size of the returned set@Nonnull public static HashByteSet newMutableSet(@Nonnull Iterable<Byte> elements, int expectedSize)
If the specified iterable is a Set
the expectedSize argument is ignored.
This method simply delegates to getDefaultFactory().newMutableSet(elements, expectedSize).
elements - the iterable whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set@Nonnull public static HashByteSet newMutableSet(@Nonnull Iterable<Byte> elems1, @Nonnull Iterable<Byte> elems2, int expectedSize)
This method simply delegates to getDefaultFactory().newMutableSet(elems1, elems2, expectedSize).
elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setexpectedSize - the expected size of the returned set@Nonnull public static HashByteSet newMutableSet(@Nonnull Iterable<Byte> elems1, @Nonnull Iterable<Byte> elems2, @Nonnull Iterable<Byte> elems3, int expectedSize)
This method simply delegates to getDefaultFactory().newMutableSet(elems1, elems2, elems3, expectedSize).
elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned setexpectedSize - the expected size of the returned set@Nonnull public static HashByteSet newMutableSet(@Nonnull Iterable<Byte> elems1, @Nonnull Iterable<Byte> elems2, @Nonnull Iterable<Byte> elems3, @Nonnull Iterable<Byte> elems4, int expectedSize)
This method simply delegates to getDefaultFactory().newMutableSet(elems1, elems2, elems3, elems4, expectedSize).
elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned setelems4 - the fourth source of elements for the returned setexpectedSize - the expected size of the returned set@Nonnull public static HashByteSet newMutableSet(@Nonnull Iterable<Byte> elems1, @Nonnull Iterable<Byte> elems2, @Nonnull Iterable<Byte> elems3, @Nonnull Iterable<Byte> elems4, @Nonnull Iterable<Byte> elems5, int expectedSize)
This method simply delegates to getDefaultFactory().newMutableSet(elems1, elems2, elems3, elems4, elems5, expectedSize).
elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned setelems4 - the fourth source of elements for the returned setelems5 - the fifth source of elements for the returned setexpectedSize - the expected size of the returned set@Nonnull public static HashByteSet newMutableSet(@Nonnull Iterator<Byte> elements, int expectedSize)
This method simply delegates to getDefaultFactory().newMutableSet(elements, expectedSize).
elements - the iterator from which elements are to be placed into the returned setexpectedSize - the expected size of the returned set@Nonnull public static HashByteSet newMutableSet(@Nonnull Consumer<ByteConsumer> elementsSupplier, int expectedSize)
Example: TODO
This method simply delegates to getDefaultFactory().newMutableSet(elementsSupplier, expectedSize).
elementsSupplier - the function which supply mappings for the returned set via
the callback passed inexpectedSize - the expected size of the returned set@Nonnull public static HashByteSet newMutableSet(@Nonnull byte[] elements, int expectedSize)
This method simply delegates to getDefaultFactory().newMutableSet(elements, expectedSize).
elements - the array whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set@Nonnull public static HashByteSet newMutableSet(@Nonnull Byte[] elements, int expectedSize)
This method simply delegates to getDefaultFactory().newMutableSet(elements, expectedSize).
elements - the array whose elements are to be placed into the returned setexpectedSize - the expected size of the returned setNullPointerException - if elements array contain null elements@Nonnull public static HashByteSet newMutableSet(@Nonnull Iterable<Byte> elements)
This method simply delegates to getDefaultFactory().newMutableSet(elements).
elements - the iterable whose elements are to be placed into the returned set@Nonnull public static HashByteSet newMutableSet(@Nonnull Iterable<Byte> elems1, @Nonnull Iterable<Byte> elems2)
This method simply delegates to getDefaultFactory().newMutableSet(elems1, elems2).
elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned set@Nonnull public static HashByteSet newMutableSet(@Nonnull Iterable<Byte> elems1, @Nonnull Iterable<Byte> elems2, @Nonnull Iterable<Byte> elems3)
This method simply delegates to getDefaultFactory().newMutableSet(elems1, elems2, elems3).
elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned set@Nonnull public static HashByteSet newMutableSet(@Nonnull Iterable<Byte> elems1, @Nonnull Iterable<Byte> elems2, @Nonnull Iterable<Byte> elems3, @Nonnull Iterable<Byte> elems4)
This method simply delegates to getDefaultFactory().newMutableSet(elems1, elems2, elems3, elems4).
elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned setelems4 - the fourth source of elements for the returned set@Nonnull public static HashByteSet newMutableSet(@Nonnull Iterable<Byte> elems1, @Nonnull Iterable<Byte> elems2, @Nonnull Iterable<Byte> elems3, @Nonnull Iterable<Byte> elems4, @Nonnull Iterable<Byte> elems5)
This method simply delegates to getDefaultFactory().newMutableSet(elems1, elems2, elems3, elems4, elems5).
elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned setelems4 - the fourth source of elements for the returned setelems5 - the fifth source of elements for the returned set@Nonnull public static HashByteSet newMutableSet(@Nonnull Iterator<Byte> elements)
This method simply delegates to getDefaultFactory().newMutableSet(elements).
elements - the iterator from which elements are to be placed into the returned set@Nonnull public static HashByteSet newMutableSet(@Nonnull Consumer<ByteConsumer> elementsSupplier)
Example: TODO
This method simply delegates to getDefaultFactory().newMutableSet(elementsSupplier).
elementsSupplier - the function which supply mappings for the returned set via
the callback passed in@Nonnull public static HashByteSet newMutableSet(@Nonnull byte[] elements)
This method simply delegates to getDefaultFactory().newMutableSet(elements).
elements - the array whose elements are to be placed into the returned set@Nonnull public static HashByteSet newMutableSet(@Nonnull Byte[] elements)
This method simply delegates to getDefaultFactory().newMutableSet(elements).
elements - the array whose elements are to be placed into the returned setNullPointerException - if elements array contain null elements@Nonnull public static HashByteSet newMutableSetOf(byte e1)
This method simply delegates to getDefaultFactory().newMutableSetOf(e1).
e1 - the sole element@Nonnull public static HashByteSet newMutableSetOf(byte e1, byte e2)
This method simply delegates to getDefaultFactory().newMutableSetOf(e1, e2).
e1 - the first elemente2 - the second element@Nonnull public static HashByteSet newMutableSetOf(byte e1, byte e2, byte e3)
This method simply delegates to getDefaultFactory().newMutableSetOf(e1, e2, e3).
e1 - the first elemente2 - the second elemente3 - the third element@Nonnull public static HashByteSet newMutableSetOf(byte e1, byte e2, byte e3, byte e4)
This method simply delegates to getDefaultFactory().newMutableSetOf(e1, e2, e3, e4).
e1 - the first elemente2 - the second elemente3 - the third elemente4 - the fourth element@Nonnull public static HashByteSet newMutableSetOf(byte e1, byte e2, byte e3, byte e4, byte e5, byte... restElements)
This method simply delegates to getDefaultFactory().newMutableSetOf(e1, e2, e3, e4, e5, restElements).
e1 - the first elemente2 - the second elemente3 - the third elemente4 - the fourth elemente5 - the fifth elementrestElements - the rest elements to be placed into the set@Nonnull public static HashByteSet newUpdatableSet()
This method simply delegates to getDefaultFactory().newUpdatableSet().
@Nonnull public static HashByteSet newUpdatableSet(int expectedSize)
This method simply delegates to getDefaultFactory().newUpdatableSet(expectedSize).
expectedSize - the expected size of the returned set@Nonnull public static HashByteSet newUpdatableSet(@Nonnull Iterable<Byte> elements, int expectedSize)
If the specified iterable is a Set
the expectedSize argument is ignored.
This method simply delegates to getDefaultFactory().newUpdatableSet(elements, expectedSize).
elements - the iterable whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set@Nonnull public static HashByteSet newUpdatableSet(@Nonnull Iterable<Byte> elems1, @Nonnull Iterable<Byte> elems2, int expectedSize)
This method simply delegates to getDefaultFactory().newUpdatableSet(elems1, elems2, expectedSize).
elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setexpectedSize - the expected size of the returned set@Nonnull public static HashByteSet newUpdatableSet(@Nonnull Iterable<Byte> elems1, @Nonnull Iterable<Byte> elems2, @Nonnull Iterable<Byte> elems3, int expectedSize)
This method simply delegates to getDefaultFactory().newUpdatableSet(elems1, elems2, elems3, expectedSize).
elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned setexpectedSize - the expected size of the returned set@Nonnull public static HashByteSet newUpdatableSet(@Nonnull Iterable<Byte> elems1, @Nonnull Iterable<Byte> elems2, @Nonnull Iterable<Byte> elems3, @Nonnull Iterable<Byte> elems4, int expectedSize)
This method simply delegates to getDefaultFactory().newUpdatableSet(elems1, elems2, elems3, elems4, expectedSize).
elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned setelems4 - the fourth source of elements for the returned setexpectedSize - the expected size of the returned set@Nonnull public static HashByteSet newUpdatableSet(@Nonnull Iterable<Byte> elems1, @Nonnull Iterable<Byte> elems2, @Nonnull Iterable<Byte> elems3, @Nonnull Iterable<Byte> elems4, @Nonnull Iterable<Byte> elems5, int expectedSize)
This method simply delegates to getDefaultFactory().newUpdatableSet(elems1, elems2, elems3, elems4, elems5, expectedSize).
elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned setelems4 - the fourth source of elements for the returned setelems5 - the fifth source of elements for the returned setexpectedSize - the expected size of the returned set@Nonnull public static HashByteSet newUpdatableSet(@Nonnull Iterator<Byte> elements, int expectedSize)
This method simply delegates to getDefaultFactory().newUpdatableSet(elements, expectedSize).
elements - the iterator from which elements are to be placed into the returned setexpectedSize - the expected size of the returned set@Nonnull public static HashByteSet newUpdatableSet(@Nonnull Consumer<ByteConsumer> elementsSupplier, int expectedSize)
Example: TODO
This method simply delegates to getDefaultFactory().newUpdatableSet(elementsSupplier, expectedSize).
elementsSupplier - the function which supply mappings for the returned set via
the callback passed inexpectedSize - the expected size of the returned set@Nonnull public static HashByteSet newUpdatableSet(@Nonnull byte[] elements, int expectedSize)
This method simply delegates to getDefaultFactory().newUpdatableSet(elements, expectedSize).
elements - the array whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set@Nonnull public static HashByteSet newUpdatableSet(@Nonnull Byte[] elements, int expectedSize)
This method simply delegates to getDefaultFactory().newUpdatableSet(elements, expectedSize).
elements - the array whose elements are to be placed into the returned setexpectedSize - the expected size of the returned setNullPointerException - if elements array contain null elements@Nonnull public static HashByteSet newUpdatableSet(@Nonnull Iterable<Byte> elements)
This method simply delegates to getDefaultFactory().newUpdatableSet(elements).
elements - the iterable whose elements are to be placed into the returned set@Nonnull public static HashByteSet newUpdatableSet(@Nonnull Iterable<Byte> elems1, @Nonnull Iterable<Byte> elems2)
This method simply delegates to getDefaultFactory().newUpdatableSet(elems1, elems2).
elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned set@Nonnull public static HashByteSet newUpdatableSet(@Nonnull Iterable<Byte> elems1, @Nonnull Iterable<Byte> elems2, @Nonnull Iterable<Byte> elems3)
This method simply delegates to getDefaultFactory().newUpdatableSet(elems1, elems2, elems3).
elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned set@Nonnull public static HashByteSet newUpdatableSet(@Nonnull Iterable<Byte> elems1, @Nonnull Iterable<Byte> elems2, @Nonnull Iterable<Byte> elems3, @Nonnull Iterable<Byte> elems4)
This method simply delegates to getDefaultFactory().newUpdatableSet(elems1, elems2, elems3, elems4).
elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned setelems4 - the fourth source of elements for the returned set@Nonnull public static HashByteSet newUpdatableSet(@Nonnull Iterable<Byte> elems1, @Nonnull Iterable<Byte> elems2, @Nonnull Iterable<Byte> elems3, @Nonnull Iterable<Byte> elems4, @Nonnull Iterable<Byte> elems5)
This method simply delegates to getDefaultFactory().newUpdatableSet(elems1, elems2, elems3, elems4, elems5).
elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned setelems4 - the fourth source of elements for the returned setelems5 - the fifth source of elements for the returned set@Nonnull public static HashByteSet newUpdatableSet(@Nonnull Iterator<Byte> elements)
This method simply delegates to getDefaultFactory().newUpdatableSet(elements).
elements - the iterator from which elements are to be placed into the returned set@Nonnull public static HashByteSet newUpdatableSet(@Nonnull Consumer<ByteConsumer> elementsSupplier)
Example: TODO
This method simply delegates to getDefaultFactory().newUpdatableSet(elementsSupplier).
elementsSupplier - the function which supply mappings for the returned set via
the callback passed in@Nonnull public static HashByteSet newUpdatableSet(@Nonnull byte[] elements)
This method simply delegates to getDefaultFactory().newUpdatableSet(elements).
elements - the array whose elements are to be placed into the returned set@Nonnull public static HashByteSet newUpdatableSet(@Nonnull Byte[] elements)
This method simply delegates to getDefaultFactory().newUpdatableSet(elements).
elements - the array whose elements are to be placed into the returned setNullPointerException - if elements array contain null elements@Nonnull public static HashByteSet newUpdatableSetOf(byte e1)
This method simply delegates to getDefaultFactory().newUpdatableSetOf(e1).
e1 - the sole element@Nonnull public static HashByteSet newUpdatableSetOf(byte e1, byte e2)
This method simply delegates to getDefaultFactory().newUpdatableSetOf(e1, e2).
e1 - the first elemente2 - the second element@Nonnull public static HashByteSet newUpdatableSetOf(byte e1, byte e2, byte e3)
This method simply delegates to getDefaultFactory().newUpdatableSetOf(e1, e2, e3).
e1 - the first elemente2 - the second elemente3 - the third element@Nonnull public static HashByteSet newUpdatableSetOf(byte e1, byte e2, byte e3, byte e4)
This method simply delegates to getDefaultFactory().newUpdatableSetOf(e1, e2, e3, e4).
e1 - the first elemente2 - the second elemente3 - the third elemente4 - the fourth element@Nonnull public static HashByteSet newUpdatableSetOf(byte e1, byte e2, byte e3, byte e4, byte e5, byte... restElements)
This method simply delegates to getDefaultFactory().newUpdatableSetOf(e1, e2, e3, e4, e5, restElements).
e1 - the first elemente2 - the second elemente3 - the third elemente4 - the fourth elemente5 - the fifth elementrestElements - the rest elements to be placed into the set@Nonnull public static HashByteSet newImmutableSet(@Nonnull Iterable<Byte> elements, int expectedSize)
If the specified iterable is a Set
the expectedSize argument is ignored.
This method simply delegates to getDefaultFactory().newImmutableSet(elements, expectedSize).
elements - the iterable whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set@Nonnull public static HashByteSet newImmutableSet(@Nonnull Iterable<Byte> elems1, @Nonnull Iterable<Byte> elems2, int expectedSize)
This method simply delegates to getDefaultFactory().newImmutableSet(elems1, elems2, expectedSize).
elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setexpectedSize - the expected size of the returned set@Nonnull public static HashByteSet newImmutableSet(@Nonnull Iterable<Byte> elems1, @Nonnull Iterable<Byte> elems2, @Nonnull Iterable<Byte> elems3, int expectedSize)
This method simply delegates to getDefaultFactory().newImmutableSet(elems1, elems2, elems3, expectedSize).
elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned setexpectedSize - the expected size of the returned set@Nonnull public static HashByteSet newImmutableSet(@Nonnull Iterable<Byte> elems1, @Nonnull Iterable<Byte> elems2, @Nonnull Iterable<Byte> elems3, @Nonnull Iterable<Byte> elems4, int expectedSize)
This method simply delegates to getDefaultFactory().newImmutableSet(elems1, elems2, elems3, elems4, expectedSize).
elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned setelems4 - the fourth source of elements for the returned setexpectedSize - the expected size of the returned set@Nonnull public static HashByteSet newImmutableSet(@Nonnull Iterable<Byte> elems1, @Nonnull Iterable<Byte> elems2, @Nonnull Iterable<Byte> elems3, @Nonnull Iterable<Byte> elems4, @Nonnull Iterable<Byte> elems5, int expectedSize)
This method simply delegates to getDefaultFactory().newImmutableSet(elems1, elems2, elems3, elems4, elems5, expectedSize).
elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned setelems4 - the fourth source of elements for the returned setelems5 - the fifth source of elements for the returned setexpectedSize - the expected size of the returned set@Nonnull public static HashByteSet newImmutableSet(@Nonnull Iterator<Byte> elements, int expectedSize)
This method simply delegates to getDefaultFactory().newImmutableSet(elements, expectedSize).
elements - the iterator from which elements are to be placed into the returned setexpectedSize - the expected size of the returned set@Nonnull public static HashByteSet newImmutableSet(@Nonnull Consumer<ByteConsumer> elementsSupplier, int expectedSize)
Example: TODO
This method simply delegates to getDefaultFactory().newImmutableSet(elementsSupplier, expectedSize).
elementsSupplier - the function which supply mappings for the returned set via
the callback passed inexpectedSize - the expected size of the returned set@Nonnull public static HashByteSet newImmutableSet(@Nonnull byte[] elements, int expectedSize)
This method simply delegates to getDefaultFactory().newImmutableSet(elements, expectedSize).
elements - the array whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set@Nonnull public static HashByteSet newImmutableSet(@Nonnull Byte[] elements, int expectedSize)
This method simply delegates to getDefaultFactory().newImmutableSet(elements, expectedSize).
elements - the array whose elements are to be placed into the returned setexpectedSize - the expected size of the returned setNullPointerException - if elements array contain null elements@Nonnull public static HashByteSet newImmutableSet(@Nonnull Iterable<Byte> elements)
This method simply delegates to getDefaultFactory().newImmutableSet(elements).
elements - the iterable whose elements are to be placed into the returned set@Nonnull public static HashByteSet newImmutableSet(@Nonnull Iterable<Byte> elems1, @Nonnull Iterable<Byte> elems2)
This method simply delegates to getDefaultFactory().newImmutableSet(elems1, elems2).
elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned set@Nonnull public static HashByteSet newImmutableSet(@Nonnull Iterable<Byte> elems1, @Nonnull Iterable<Byte> elems2, @Nonnull Iterable<Byte> elems3)
This method simply delegates to getDefaultFactory().newImmutableSet(elems1, elems2, elems3).
elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned set@Nonnull public static HashByteSet newImmutableSet(@Nonnull Iterable<Byte> elems1, @Nonnull Iterable<Byte> elems2, @Nonnull Iterable<Byte> elems3, @Nonnull Iterable<Byte> elems4)
This method simply delegates to getDefaultFactory().newImmutableSet(elems1, elems2, elems3, elems4).
elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned setelems4 - the fourth source of elements for the returned set@Nonnull public static HashByteSet newImmutableSet(@Nonnull Iterable<Byte> elems1, @Nonnull Iterable<Byte> elems2, @Nonnull Iterable<Byte> elems3, @Nonnull Iterable<Byte> elems4, @Nonnull Iterable<Byte> elems5)
This method simply delegates to getDefaultFactory().newImmutableSet(elems1, elems2, elems3, elems4, elems5).
elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned setelems3 - the third source of elements for the returned setelems4 - the fourth source of elements for the returned setelems5 - the fifth source of elements for the returned set@Nonnull public static HashByteSet newImmutableSet(@Nonnull Iterator<Byte> elements)
This method simply delegates to getDefaultFactory().newImmutableSet(elements).
elements - the iterator from which elements are to be placed into the returned set@Nonnull public static HashByteSet newImmutableSet(@Nonnull Consumer<ByteConsumer> elementsSupplier)
Example: TODO
This method simply delegates to getDefaultFactory().newImmutableSet(elementsSupplier).
elementsSupplier - the function which supply mappings for the returned set via
the callback passed in@Nonnull public static HashByteSet newImmutableSet(@Nonnull byte[] elements)
This method simply delegates to getDefaultFactory().newImmutableSet(elements).
elements - the array whose elements are to be placed into the returned set@Nonnull public static HashByteSet newImmutableSet(@Nonnull Byte[] elements)
This method simply delegates to getDefaultFactory().newImmutableSet(elements).
elements - the array whose elements are to be placed into the returned setNullPointerException - if elements array contain null elements@Nonnull public static HashByteSet newImmutableSetOf(byte e1)
This method simply delegates to getDefaultFactory().newImmutableSetOf(e1).
e1 - the sole element@Nonnull public static HashByteSet newImmutableSetOf(byte e1, byte e2)
This method simply delegates to getDefaultFactory().newImmutableSetOf(e1, e2).
e1 - the first elemente2 - the second element@Nonnull public static HashByteSet newImmutableSetOf(byte e1, byte e2, byte e3)
This method simply delegates to getDefaultFactory().newImmutableSetOf(e1, e2, e3).
e1 - the first elemente2 - the second elemente3 - the third element@Nonnull public static HashByteSet newImmutableSetOf(byte e1, byte e2, byte e3, byte e4)
This method simply delegates to getDefaultFactory().newImmutableSetOf(e1, e2, e3, e4).
e1 - the first elemente2 - the second elemente3 - the third elemente4 - the fourth element@Nonnull public static HashByteSet newImmutableSetOf(byte e1, byte e2, byte e3, byte e4, byte e5, byte... restElements)
This method simply delegates to getDefaultFactory().newImmutableSetOf(e1, e2, e3, e4, e5, restElements).
e1 - the first elemente2 - the second elemente3 - the third elemente4 - the fourth elemente5 - the fifth elementrestElements - the rest elements to be placed into the set