|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HashByteSetFactory
An immutable factory of HashByteSets.
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 |
|---|
@Nonnull HashByteSet newMutableSet()
ByteSetFactory
newMutableSet in interface ByteSetFactory<HashByteSetFactory>@Nonnull HashByteSet newMutableSet(int expectedSize)
ByteSetFactory
newMutableSet in interface ByteSetFactory<HashByteSetFactory>expectedSize - the expected size of the returned set
@Nonnull
HashByteSet newMutableSet(@Nonnull
Iterable<Byte> elements,
int expectedSize)
ByteSetFactoryIf the specified iterable is a Set
the expectedSize argument is ignored.
newMutableSet in interface ByteSetFactory<HashByteSetFactory>elements - the iterable whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set
@Nonnull
HashByteSet newMutableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
int expectedSize)
ByteSetFactory
newMutableSet in interface ByteSetFactory<HashByteSetFactory>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
HashByteSet newMutableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> elems3,
int expectedSize)
ByteSetFactory
newMutableSet in interface ByteSetFactory<HashByteSetFactory>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
HashByteSet newMutableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> elems3,
@Nonnull
Iterable<Byte> elems4,
int expectedSize)
ByteSetFactory
newMutableSet in interface ByteSetFactory<HashByteSetFactory>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
HashByteSet newMutableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> elems3,
@Nonnull
Iterable<Byte> elems4,
@Nonnull
Iterable<Byte> elems5,
int expectedSize)
ByteSetFactory
newMutableSet in interface ByteSetFactory<HashByteSetFactory>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
HashByteSet newMutableSet(@Nonnull
Iterator<Byte> elements,
int expectedSize)
ByteSetFactory
newMutableSet in interface ByteSetFactory<HashByteSetFactory>elements - the iterator from which elements are to be placed into the returned setexpectedSize - the expected size of the returned set
@Nonnull
HashByteSet newMutableSet(@Nonnull
Consumer<ByteConsumer> elementsSupplier,
int expectedSize)
ByteSetFactoryExample: TODO
newMutableSet in interface ByteSetFactory<HashByteSetFactory>elementsSupplier - the function which supply mappings for the returned set via
the callback passed inexpectedSize - the expected size of the returned set
@Nonnull
HashByteSet newMutableSet(@Nonnull
byte[] elements,
int expectedSize)
ByteSetFactory
newMutableSet in interface ByteSetFactory<HashByteSetFactory>elements - the array whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set
@Nonnull
HashByteSet newMutableSet(@Nonnull
Byte[] elements,
int expectedSize)
ByteSetFactory
newMutableSet in interface ByteSetFactory<HashByteSetFactory>elements - the array whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set
@Nonnull
HashByteSet newMutableSet(@Nonnull
Iterable<Byte> elements)
ByteSetFactory
newMutableSet in interface ByteSetFactory<HashByteSetFactory>elements - the iterable whose elements are to be placed into the returned set
@Nonnull
HashByteSet newMutableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2)
ByteSetFactory
newMutableSet in interface ByteSetFactory<HashByteSetFactory>elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned set
@Nonnull
HashByteSet newMutableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> elems3)
ByteSetFactory
newMutableSet in interface ByteSetFactory<HashByteSetFactory>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
HashByteSet newMutableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> elems3,
@Nonnull
Iterable<Byte> elems4)
ByteSetFactory
newMutableSet in interface ByteSetFactory<HashByteSetFactory>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
HashByteSet newMutableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> elems3,
@Nonnull
Iterable<Byte> elems4,
@Nonnull
Iterable<Byte> elems5)
ByteSetFactory
newMutableSet in interface ByteSetFactory<HashByteSetFactory>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
HashByteSet newMutableSet(@Nonnull
Iterator<Byte> elements)
ByteSetFactory
newMutableSet in interface ByteSetFactory<HashByteSetFactory>elements - the iterator from which elements are to be placed into the returned set
@Nonnull
HashByteSet newMutableSet(@Nonnull
Consumer<ByteConsumer> elementsSupplier)
ByteSetFactoryExample: TODO
newMutableSet in interface ByteSetFactory<HashByteSetFactory>elementsSupplier - the function which supply mappings for the returned set via
the callback passed in
@Nonnull
HashByteSet newMutableSet(@Nonnull
byte[] elements)
ByteSetFactory
newMutableSet in interface ByteSetFactory<HashByteSetFactory>elements - the array whose elements are to be placed into the returned set
@Nonnull
HashByteSet newMutableSet(@Nonnull
Byte[] elements)
ByteSetFactory
newMutableSet in interface ByteSetFactory<HashByteSetFactory>elements - the array whose elements are to be placed into the returned set
@Nonnull HashByteSet newMutableSetOf(byte e1)
ByteSetFactory
newMutableSetOf in interface ByteSetFactory<HashByteSetFactory>e1 - the sole element
@Nonnull
HashByteSet newMutableSetOf(byte e1,
byte e2)
ByteSetFactory
newMutableSetOf in interface ByteSetFactory<HashByteSetFactory>e1 - the first elemente2 - the second element
@Nonnull
HashByteSet newMutableSetOf(byte e1,
byte e2,
byte e3)
ByteSetFactory
newMutableSetOf in interface ByteSetFactory<HashByteSetFactory>e1 - the first elemente2 - the second elemente3 - the third element
@Nonnull
HashByteSet newMutableSetOf(byte e1,
byte e2,
byte e3,
byte e4)
ByteSetFactory
newMutableSetOf in interface ByteSetFactory<HashByteSetFactory>e1 - the first elemente2 - the second elemente3 - the third elemente4 - the fourth element
@Nonnull
HashByteSet newMutableSetOf(byte e1,
byte e2,
byte e3,
byte e4,
byte e5,
byte... restElements)
ByteSetFactory
newMutableSetOf in interface ByteSetFactory<HashByteSetFactory>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 HashByteSet newUpdatableSet()
ByteSetFactory
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>@Nonnull HashByteSet newUpdatableSet(int expectedSize)
ByteSetFactory
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>expectedSize - the expected size of the returned set
@Nonnull
HashByteSet newUpdatableSet(@Nonnull
Iterable<Byte> elements,
int expectedSize)
ByteSetFactoryIf the specified iterable is a Set
the expectedSize argument is ignored.
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>elements - the iterable whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set
@Nonnull
HashByteSet newUpdatableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
int expectedSize)
ByteSetFactory
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>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
HashByteSet newUpdatableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> elems3,
int expectedSize)
ByteSetFactory
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>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
HashByteSet newUpdatableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> elems3,
@Nonnull
Iterable<Byte> elems4,
int expectedSize)
ByteSetFactory
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>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
HashByteSet newUpdatableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> elems3,
@Nonnull
Iterable<Byte> elems4,
@Nonnull
Iterable<Byte> elems5,
int expectedSize)
ByteSetFactory
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>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
HashByteSet newUpdatableSet(@Nonnull
Iterator<Byte> elements,
int expectedSize)
ByteSetFactory
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>elements - the iterator from which elements are to be placed into the returned setexpectedSize - the expected size of the returned set
@Nonnull
HashByteSet newUpdatableSet(@Nonnull
Consumer<ByteConsumer> elementsSupplier,
int expectedSize)
ByteSetFactoryExample: TODO
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>elementsSupplier - the function which supply mappings for the returned set via
the callback passed inexpectedSize - the expected size of the returned set
@Nonnull
HashByteSet newUpdatableSet(@Nonnull
byte[] elements,
int expectedSize)
ByteSetFactory
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>elements - the array whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set
@Nonnull
HashByteSet newUpdatableSet(@Nonnull
Byte[] elements,
int expectedSize)
ByteSetFactory
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>elements - the array whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set
@Nonnull
HashByteSet newUpdatableSet(@Nonnull
Iterable<Byte> elements)
ByteSetFactory
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>elements - the iterable whose elements are to be placed into the returned set
@Nonnull
HashByteSet newUpdatableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2)
ByteSetFactory
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned set
@Nonnull
HashByteSet newUpdatableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> elems3)
ByteSetFactory
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>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
HashByteSet newUpdatableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> elems3,
@Nonnull
Iterable<Byte> elems4)
ByteSetFactory
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>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
HashByteSet newUpdatableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> elems3,
@Nonnull
Iterable<Byte> elems4,
@Nonnull
Iterable<Byte> elems5)
ByteSetFactory
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>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
HashByteSet newUpdatableSet(@Nonnull
Iterator<Byte> elements)
ByteSetFactory
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>elements - the iterator from which elements are to be placed into the returned set
@Nonnull
HashByteSet newUpdatableSet(@Nonnull
Consumer<ByteConsumer> elementsSupplier)
ByteSetFactoryExample: TODO
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>elementsSupplier - the function which supply mappings for the returned set via
the callback passed in
@Nonnull
HashByteSet newUpdatableSet(@Nonnull
byte[] elements)
ByteSetFactory
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>elements - the array whose elements are to be placed into the returned set
@Nonnull
HashByteSet newUpdatableSet(@Nonnull
Byte[] elements)
ByteSetFactory
newUpdatableSet in interface ByteSetFactory<HashByteSetFactory>elements - the array whose elements are to be placed into the returned set
@Nonnull HashByteSet newUpdatableSetOf(byte e1)
ByteSetFactory
newUpdatableSetOf in interface ByteSetFactory<HashByteSetFactory>e1 - the sole element
@Nonnull
HashByteSet newUpdatableSetOf(byte e1,
byte e2)
ByteSetFactory
newUpdatableSetOf in interface ByteSetFactory<HashByteSetFactory>e1 - the first elemente2 - the second element
@Nonnull
HashByteSet newUpdatableSetOf(byte e1,
byte e2,
byte e3)
ByteSetFactory
newUpdatableSetOf in interface ByteSetFactory<HashByteSetFactory>e1 - the first elemente2 - the second elemente3 - the third element
@Nonnull
HashByteSet newUpdatableSetOf(byte e1,
byte e2,
byte e3,
byte e4)
ByteSetFactory
newUpdatableSetOf in interface ByteSetFactory<HashByteSetFactory>e1 - the first elemente2 - the second elemente3 - the third elemente4 - the fourth element
@Nonnull
HashByteSet newUpdatableSetOf(byte e1,
byte e2,
byte e3,
byte e4,
byte e5,
byte... restElements)
ByteSetFactory
newUpdatableSetOf in interface ByteSetFactory<HashByteSetFactory>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
HashByteSet newImmutableSet(@Nonnull
Iterable<Byte> elements,
int expectedSize)
ByteSetFactoryIf the specified iterable is a Set
the expectedSize argument is ignored.
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>elements - the iterable whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set
@Nonnull
HashByteSet newImmutableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
int expectedSize)
ByteSetFactory
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>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
HashByteSet newImmutableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> elems3,
int expectedSize)
ByteSetFactory
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>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
HashByteSet newImmutableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> elems3,
@Nonnull
Iterable<Byte> elems4,
int expectedSize)
ByteSetFactory
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>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
HashByteSet newImmutableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> elems3,
@Nonnull
Iterable<Byte> elems4,
@Nonnull
Iterable<Byte> elems5,
int expectedSize)
ByteSetFactory
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>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
HashByteSet newImmutableSet(@Nonnull
Iterator<Byte> elements,
int expectedSize)
ByteSetFactory
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>elements - the iterator from which elements are to be placed into the returned setexpectedSize - the expected size of the returned set
@Nonnull
HashByteSet newImmutableSet(@Nonnull
Consumer<ByteConsumer> elementsSupplier,
int expectedSize)
ByteSetFactoryExample: TODO
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>elementsSupplier - the function which supply mappings for the returned set via
the callback passed inexpectedSize - the expected size of the returned set
@Nonnull
HashByteSet newImmutableSet(@Nonnull
byte[] elements,
int expectedSize)
ByteSetFactory
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>elements - the array whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set
@Nonnull
HashByteSet newImmutableSet(@Nonnull
Byte[] elements,
int expectedSize)
ByteSetFactory
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>elements - the array whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set
@Nonnull
HashByteSet newImmutableSet(@Nonnull
Iterable<Byte> elements)
ByteSetFactory
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>elements - the iterable whose elements are to be placed into the returned set
@Nonnull
HashByteSet newImmutableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2)
ByteSetFactory
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned set
@Nonnull
HashByteSet newImmutableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> elems3)
ByteSetFactory
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>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
HashByteSet newImmutableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> elems3,
@Nonnull
Iterable<Byte> elems4)
ByteSetFactory
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>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
HashByteSet newImmutableSet(@Nonnull
Iterable<Byte> elems1,
@Nonnull
Iterable<Byte> elems2,
@Nonnull
Iterable<Byte> elems3,
@Nonnull
Iterable<Byte> elems4,
@Nonnull
Iterable<Byte> elems5)
ByteSetFactory
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>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
HashByteSet newImmutableSet(@Nonnull
Iterator<Byte> elements)
ByteSetFactory
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>elements - the iterator from which elements are to be placed into the returned set
@Nonnull
HashByteSet newImmutableSet(@Nonnull
Consumer<ByteConsumer> elementsSupplier)
ByteSetFactoryExample: TODO
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>elementsSupplier - the function which supply mappings for the returned set via
the callback passed in
@Nonnull
HashByteSet newImmutableSet(@Nonnull
byte[] elements)
ByteSetFactory
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>elements - the array whose elements are to be placed into the returned set
@Nonnull
HashByteSet newImmutableSet(@Nonnull
Byte[] elements)
ByteSetFactory
newImmutableSet in interface ByteSetFactory<HashByteSetFactory>elements - the array whose elements are to be placed into the returned set
@Nonnull HashByteSet newImmutableSetOf(byte e1)
ByteSetFactory
newImmutableSetOf in interface ByteSetFactory<HashByteSetFactory>e1 - the sole element
@Nonnull
HashByteSet newImmutableSetOf(byte e1,
byte e2)
ByteSetFactory
newImmutableSetOf in interface ByteSetFactory<HashByteSetFactory>e1 - the first elemente2 - the second element
@Nonnull
HashByteSet newImmutableSetOf(byte e1,
byte e2,
byte e3)
ByteSetFactory
newImmutableSetOf in interface ByteSetFactory<HashByteSetFactory>e1 - the first elemente2 - the second elemente3 - the third element
@Nonnull
HashByteSet newImmutableSetOf(byte e1,
byte e2,
byte e3,
byte e4)
ByteSetFactory
newImmutableSetOf in interface ByteSetFactory<HashByteSetFactory>e1 - the first elemente2 - the second elemente3 - the third elemente4 - the fourth element
@Nonnull
HashByteSet newImmutableSetOf(byte e1,
byte e2,
byte e3,
byte e4,
byte e5,
byte... restElements)
ByteSetFactory
newImmutableSetOf in interface ByteSetFactory<HashByteSetFactory>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 | |||||||||