|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
F - the concrete factory type which extends this interfacepublic interface ByteSetFactory<F extends ByteSetFactory<F>>
An immutable factory of ByteSets.
ByteSet,
@KolobokeSet| Method Summary | |
|---|---|
ByteSet |
newImmutableSet(byte[] elements)
Constructs a new immutable set of elements from the given array. |
ByteSet |
newImmutableSet(Byte[] elements)
Constructs a new immutable set of elements from the given array. |
ByteSet |
newImmutableSet(byte[] elements,
int expectedSize)
Constructs a new immutable set of elements from the given array. |
ByteSet |
newImmutableSet(Byte[] elements,
int expectedSize)
Constructs a new immutable set of elements from the given array. |
ByteSet |
newImmutableSet(Consumer<ByteConsumer> elementsSupplier)
Constructs a new immutable set of elements consumed by the callback within the given closure. |
ByteSet |
newImmutableSet(Consumer<ByteConsumer> elementsSupplier,
int expectedSize)
Constructs a new immutable set of elements consumed by the callback within the given closure. |
ByteSet |
newImmutableSet(Iterable<Byte> elements)
Constructs a new immutable set containing the elements in the specified iterable. |
ByteSet |
newImmutableSet(Iterable<Byte> elements,
int expectedSize)
Constructs a new immutable set containing the elements in the specified iterable. |
ByteSet |
newImmutableSet(Iterable<Byte> elems1,
Iterable<Byte> elems2)
Constructs a new immutable set which merge the elements of the specified iterables. |
ByteSet |
newImmutableSet(Iterable<Byte> elems1,
Iterable<Byte> elems2,
int expectedSize)
Constructs a new immutable set which merge the elements of the specified iterables. |
ByteSet |
newImmutableSet(Iterable<Byte> elems1,
Iterable<Byte> elems2,
Iterable<Byte> elems3)
Constructs a new immutable set which merge the elements of the specified iterables. |
ByteSet |
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. |
ByteSet |
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. |
ByteSet |
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. |
ByteSet |
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. |
ByteSet |
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. |
ByteSet |
newImmutableSet(Iterator<Byte> elements)
Constructs a new immutable set containing the elements traversed by the specified iterator. |
ByteSet |
newImmutableSet(Iterator<Byte> elements,
int expectedSize)
Constructs a new immutable set containing the elements traversed by the specified iterator. |
ByteSet |
newImmutableSetOf(byte e1)
Constructs a new immutable singleton set of the given element. |
ByteSet |
newImmutableSetOf(byte e1,
byte e2)
Constructs a new immutable set of the two specified elements. |
ByteSet |
newImmutableSetOf(byte e1,
byte e2,
byte e3)
Constructs a new immutable set of the three specified elements. |
ByteSet |
newImmutableSetOf(byte e1,
byte e2,
byte e3,
byte e4)
Constructs a new immutable set of the four specified elements. |
ByteSet |
newImmutableSetOf(byte e1,
byte e2,
byte e3,
byte e4,
byte e5,
byte... restElements)
Constructs a new immutable set of the specified elements. |
ByteSet |
newMutableSet()
Constructs a new empty mutable set of the default expected size. |
ByteSet |
newMutableSet(byte[] elements)
Constructs a new mutable set of elements from the given array. |
ByteSet |
newMutableSet(Byte[] elements)
Constructs a new mutable set of elements from the given array. |
ByteSet |
newMutableSet(byte[] elements,
int expectedSize)
Constructs a new mutable set of elements from the given array. |
ByteSet |
newMutableSet(Byte[] elements,
int expectedSize)
Constructs a new mutable set of elements from the given array. |
ByteSet |
newMutableSet(Consumer<ByteConsumer> elementsSupplier)
Constructs a new mutable set of elements consumed by the callback within the given closure. |
ByteSet |
newMutableSet(Consumer<ByteConsumer> elementsSupplier,
int expectedSize)
Constructs a new mutable set of elements consumed by the callback within the given closure. |
ByteSet |
newMutableSet(int expectedSize)
Constructs a new empty mutable set of the given expected size. |
ByteSet |
newMutableSet(Iterable<Byte> elements)
Constructs a new mutable set containing the elements in the specified iterable. |
ByteSet |
newMutableSet(Iterable<Byte> elements,
int expectedSize)
Constructs a new mutable set containing the elements in the specified iterable. |
ByteSet |
newMutableSet(Iterable<Byte> elems1,
Iterable<Byte> elems2)
Constructs a new mutable set which merge the elements of the specified iterables. |
ByteSet |
newMutableSet(Iterable<Byte> elems1,
Iterable<Byte> elems2,
int expectedSize)
Constructs a new mutable set which merge the elements of the specified iterables. |
ByteSet |
newMutableSet(Iterable<Byte> elems1,
Iterable<Byte> elems2,
Iterable<Byte> elems3)
Constructs a new mutable set which merge the elements of the specified iterables. |
ByteSet |
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. |
ByteSet |
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. |
ByteSet |
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. |
ByteSet |
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. |
ByteSet |
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. |
ByteSet |
newMutableSet(Iterator<Byte> elements)
Constructs a new mutable set containing the elements traversed by the specified iterator. |
ByteSet |
newMutableSet(Iterator<Byte> elements,
int expectedSize)
Constructs a new mutable set containing the elements traversed by the specified iterator. |
ByteSet |
newMutableSetOf(byte e1)
Constructs a new mutable singleton set of the given element. |
ByteSet |
newMutableSetOf(byte e1,
byte e2)
Constructs a new mutable set of the two specified elements. |
ByteSet |
newMutableSetOf(byte e1,
byte e2,
byte e3)
Constructs a new mutable set of the three specified elements. |
ByteSet |
newMutableSetOf(byte e1,
byte e2,
byte e3,
byte e4)
Constructs a new mutable set of the four specified elements. |
ByteSet |
newMutableSetOf(byte e1,
byte e2,
byte e3,
byte e4,
byte e5,
byte... restElements)
Constructs a new mutable set of the specified elements. |
ByteSet |
newUpdatableSet()
Constructs a new empty updatable set of the default expected size. |
ByteSet |
newUpdatableSet(byte[] elements)
Constructs a new updatable set of elements from the given array. |
ByteSet |
newUpdatableSet(Byte[] elements)
Constructs a new updatable set of elements from the given array. |
ByteSet |
newUpdatableSet(byte[] elements,
int expectedSize)
Constructs a new updatable set of elements from the given array. |
ByteSet |
newUpdatableSet(Byte[] elements,
int expectedSize)
Constructs a new updatable set of elements from the given array. |
ByteSet |
newUpdatableSet(Consumer<ByteConsumer> elementsSupplier)
Constructs a new updatable set of elements consumed by the callback within the given closure. |
ByteSet |
newUpdatableSet(Consumer<ByteConsumer> elementsSupplier,
int expectedSize)
Constructs a new updatable set of elements consumed by the callback within the given closure. |
ByteSet |
newUpdatableSet(int expectedSize)
Constructs a new empty updatable set of the given expected size. |
ByteSet |
newUpdatableSet(Iterable<Byte> elements)
Constructs a new updatable set containing the elements in the specified iterable. |
ByteSet |
newUpdatableSet(Iterable<Byte> elements,
int expectedSize)
Constructs a new updatable set containing the elements in the specified iterable. |
ByteSet |
newUpdatableSet(Iterable<Byte> elems1,
Iterable<Byte> elems2)
Constructs a new updatable set which merge the elements of the specified iterables. |
ByteSet |
newUpdatableSet(Iterable<Byte> elems1,
Iterable<Byte> elems2,
int expectedSize)
Constructs a new updatable set which merge the elements of the specified iterables. |
ByteSet |
newUpdatableSet(Iterable<Byte> elems1,
Iterable<Byte> elems2,
Iterable<Byte> elems3)
Constructs a new updatable set which merge the elements of the specified iterables. |
ByteSet |
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. |
ByteSet |
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. |
ByteSet |
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. |
ByteSet |
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. |
ByteSet |
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. |
ByteSet |
newUpdatableSet(Iterator<Byte> elements)
Constructs a new updatable set containing the elements traversed by the specified iterator. |
ByteSet |
newUpdatableSet(Iterator<Byte> elements,
int expectedSize)
Constructs a new updatable set containing the elements traversed by the specified iterator. |
ByteSet |
newUpdatableSetOf(byte e1)
Constructs a new updatable singleton set of the given element. |
ByteSet |
newUpdatableSetOf(byte e1,
byte e2)
Constructs a new updatable set of the two specified elements. |
ByteSet |
newUpdatableSetOf(byte e1,
byte e2,
byte e3)
Constructs a new updatable set of the three specified elements. |
ByteSet |
newUpdatableSetOf(byte e1,
byte e2,
byte e3,
byte e4)
Constructs a new updatable set of the four specified elements. |
ByteSet |
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.ContainerFactory |
|---|
getDefaultExpectedSize, withDefaultExpectedSize |
| Method Detail |
|---|
@Nonnull ByteSet newMutableSet()
@Nonnull ByteSet newMutableSet(int expectedSize)
expectedSize - the expected size of the returned set
@Nonnull
ByteSet newMutableSet(@Nonnull
Iterable<Byte> elements,
int expectedSize)
If the specified iterable is a Set
the expectedSize argument is ignored.
elements - the iterable whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set
@Nonnull
ByteSet newMutableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
int 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
ByteSet newMutableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> elems3,
int 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
ByteSet newMutableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> elems3,
@Nonnull
Iterable<Byte> elems4,
int 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
ByteSet newMutableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> elems3,
@Nonnull
Iterable<Byte> elems4,
@Nonnull
Iterable<Byte> elems5,
int 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
ByteSet newMutableSet(@Nonnull
Iterator<Byte> elements,
int expectedSize)
elements - the iterator from which elements are to be placed into the returned setexpectedSize - the expected size of the returned set
@Nonnull
ByteSet newMutableSet(@Nonnull
Consumer<ByteConsumer> elementsSupplier,
int expectedSize)
Example: TODO
elementsSupplier - the function which supply mappings for the returned set via
the callback passed inexpectedSize - the expected size of the returned set
@Nonnull
ByteSet newMutableSet(@Nonnull
byte[] elements,
int expectedSize)
elements - the array whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set
@Nonnull
ByteSet newMutableSet(@Nonnull
Byte[] elements,
int expectedSize)
elements - the array whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set
NullPointerException - if elements array contain null elements
@Nonnull
ByteSet newMutableSet(@Nonnull
Iterable<Byte> elements)
elements - the iterable whose elements are to be placed into the returned set
@Nonnull
ByteSet newMutableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2)
elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned set
@Nonnull
ByteSet newMutableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> 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
ByteSet newMutableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> elems3,
@Nonnull
Iterable<Byte> 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
ByteSet newMutableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> elems3,
@Nonnull
Iterable<Byte> elems4,
@Nonnull
Iterable<Byte> 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
ByteSet newMutableSet(@Nonnull
Iterator<Byte> elements)
elements - the iterator from which elements are to be placed into the returned set
@Nonnull
ByteSet newMutableSet(@Nonnull
Consumer<ByteConsumer> elementsSupplier)
Example: TODO
elementsSupplier - the function which supply mappings for the returned set via
the callback passed in
@Nonnull
ByteSet newMutableSet(@Nonnull
byte[] elements)
elements - the array whose elements are to be placed into the returned set
@Nonnull
ByteSet newMutableSet(@Nonnull
Byte[] elements)
elements - the array whose elements are to be placed into the returned set
NullPointerException - if elements array contain null elements@Nonnull ByteSet newMutableSetOf(byte e1)
e1 - the sole element
@Nonnull
ByteSet newMutableSetOf(byte e1,
byte e2)
e1 - the first elemente2 - the second element
@Nonnull
ByteSet newMutableSetOf(byte e1,
byte e2,
byte e3)
e1 - the first elemente2 - the second elemente3 - the third element
@Nonnull
ByteSet newMutableSetOf(byte e1,
byte e2,
byte e3,
byte e4)
e1 - the first elemente2 - the second elemente3 - the third elemente4 - the fourth element
@Nonnull
ByteSet newMutableSetOf(byte e1,
byte e2,
byte e3,
byte e4,
byte e5,
byte... 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 ByteSet newUpdatableSet()
@Nonnull ByteSet newUpdatableSet(int expectedSize)
expectedSize - the expected size of the returned set
@Nonnull
ByteSet newUpdatableSet(@Nonnull
Iterable<Byte> elements,
int expectedSize)
If the specified iterable is a Set
the expectedSize argument is ignored.
elements - the iterable whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set
@Nonnull
ByteSet newUpdatableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
int 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
ByteSet newUpdatableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> elems3,
int 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
ByteSet newUpdatableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> elems3,
@Nonnull
Iterable<Byte> elems4,
int 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
ByteSet newUpdatableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> elems3,
@Nonnull
Iterable<Byte> elems4,
@Nonnull
Iterable<Byte> elems5,
int 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
ByteSet newUpdatableSet(@Nonnull
Iterator<Byte> elements,
int expectedSize)
elements - the iterator from which elements are to be placed into the returned setexpectedSize - the expected size of the returned set
@Nonnull
ByteSet newUpdatableSet(@Nonnull
Consumer<ByteConsumer> elementsSupplier,
int expectedSize)
Example: TODO
elementsSupplier - the function which supply mappings for the returned set via
the callback passed inexpectedSize - the expected size of the returned set
@Nonnull
ByteSet newUpdatableSet(@Nonnull
byte[] elements,
int expectedSize)
elements - the array whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set
@Nonnull
ByteSet newUpdatableSet(@Nonnull
Byte[] elements,
int expectedSize)
elements - the array whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set
NullPointerException - if elements array contain null elements
@Nonnull
ByteSet newUpdatableSet(@Nonnull
Iterable<Byte> elements)
elements - the iterable whose elements are to be placed into the returned set
@Nonnull
ByteSet newUpdatableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2)
elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned set
@Nonnull
ByteSet newUpdatableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> 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
ByteSet newUpdatableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> elems3,
@Nonnull
Iterable<Byte> 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
ByteSet newUpdatableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> elems3,
@Nonnull
Iterable<Byte> elems4,
@Nonnull
Iterable<Byte> 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
ByteSet newUpdatableSet(@Nonnull
Iterator<Byte> elements)
elements - the iterator from which elements are to be placed into the returned set
@Nonnull
ByteSet newUpdatableSet(@Nonnull
Consumer<ByteConsumer> elementsSupplier)
Example: TODO
elementsSupplier - the function which supply mappings for the returned set via
the callback passed in
@Nonnull
ByteSet newUpdatableSet(@Nonnull
byte[] elements)
elements - the array whose elements are to be placed into the returned set
@Nonnull
ByteSet newUpdatableSet(@Nonnull
Byte[] elements)
elements - the array whose elements are to be placed into the returned set
NullPointerException - if elements array contain null elements@Nonnull ByteSet newUpdatableSetOf(byte e1)
e1 - the sole element
@Nonnull
ByteSet newUpdatableSetOf(byte e1,
byte e2)
e1 - the first elemente2 - the second element
@Nonnull
ByteSet newUpdatableSetOf(byte e1,
byte e2,
byte e3)
e1 - the first elemente2 - the second elemente3 - the third element
@Nonnull
ByteSet newUpdatableSetOf(byte e1,
byte e2,
byte e3,
byte e4)
e1 - the first elemente2 - the second elemente3 - the third elemente4 - the fourth element
@Nonnull
ByteSet newUpdatableSetOf(byte e1,
byte e2,
byte e3,
byte e4,
byte e5,
byte... 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
ByteSet newImmutableSet(@Nonnull
Iterable<Byte> elements,
int expectedSize)
If the specified iterable is a Set
the expectedSize argument is ignored.
elements - the iterable whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set
@Nonnull
ByteSet newImmutableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
int 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
ByteSet newImmutableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> elems3,
int 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
ByteSet newImmutableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> elems3,
@Nonnull
Iterable<Byte> elems4,
int 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
ByteSet newImmutableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> elems3,
@Nonnull
Iterable<Byte> elems4,
@Nonnull
Iterable<Byte> elems5,
int 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
ByteSet newImmutableSet(@Nonnull
Iterator<Byte> elements,
int expectedSize)
elements - the iterator from which elements are to be placed into the returned setexpectedSize - the expected size of the returned set
@Nonnull
ByteSet newImmutableSet(@Nonnull
Consumer<ByteConsumer> elementsSupplier,
int expectedSize)
Example: TODO
elementsSupplier - the function which supply mappings for the returned set via
the callback passed inexpectedSize - the expected size of the returned set
@Nonnull
ByteSet newImmutableSet(@Nonnull
byte[] elements,
int expectedSize)
elements - the array whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set
@Nonnull
ByteSet newImmutableSet(@Nonnull
Byte[] elements,
int expectedSize)
elements - the array whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set
NullPointerException - if elements array contain null elements
@Nonnull
ByteSet newImmutableSet(@Nonnull
Iterable<Byte> elements)
elements - the iterable whose elements are to be placed into the returned set
@Nonnull
ByteSet newImmutableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2)
elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned set
@Nonnull
ByteSet newImmutableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> 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
ByteSet newImmutableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> elems3,
@Nonnull
Iterable<Byte> 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
ByteSet newImmutableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> elems3,
@Nonnull
Iterable<Byte> elems4,
@Nonnull
Iterable<Byte> 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
ByteSet newImmutableSet(@Nonnull
Iterator<Byte> elements)
elements - the iterator from which elements are to be placed into the returned set
@Nonnull
ByteSet newImmutableSet(@Nonnull
Consumer<ByteConsumer> elementsSupplier)
Example: TODO
elementsSupplier - the function which supply mappings for the returned set via
the callback passed in
@Nonnull
ByteSet newImmutableSet(@Nonnull
byte[] elements)
elements - the array whose elements are to be placed into the returned set
@Nonnull
ByteSet newImmutableSet(@Nonnull
Byte[] elements)
elements - the array whose elements are to be placed into the returned set
NullPointerException - if elements array contain null elements@Nonnull ByteSet newImmutableSetOf(byte e1)
e1 - the sole element
@Nonnull
ByteSet newImmutableSetOf(byte e1,
byte e2)
e1 - the first elemente2 - the second element
@Nonnull
ByteSet newImmutableSetOf(byte e1,
byte e2,
byte e3)
e1 - the first elemente2 - the second elemente3 - the third element
@Nonnull
ByteSet newImmutableSetOf(byte e1,
byte e2,
byte e3,
byte e4)
e1 - the first elemente2 - the second elemente3 - the third elemente4 - the fourth element
@Nonnull
ByteSet newImmutableSetOf(byte e1,
byte e2,
byte e3,
byte e4,
byte e5,
byte... 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||