|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HashIntSetFactory
An immutable factory of HashIntSets.
HashIntSet,
HashIntSets.getDefaultFactory(),
@KolobokeSet| Method Summary | |
|---|---|
HashIntSet |
newImmutableSet(Consumer<IntConsumer> elementsSupplier)
Constructs a new immutable set of elements consumed by the callback within the given closure. |
HashIntSet |
newImmutableSet(Consumer<IntConsumer> elementsSupplier,
int expectedSize)
Constructs a new immutable set of elements consumed by the callback within the given closure. |
HashIntSet |
newImmutableSet(int[] elements)
Constructs a new immutable set of elements from the given array. |
HashIntSet |
newImmutableSet(int[] elements,
int expectedSize)
Constructs a new immutable set of elements from the given array. |
HashIntSet |
newImmutableSet(Integer[] elements)
Constructs a new immutable set of elements from the given array. |
HashIntSet |
newImmutableSet(Integer[] elements,
int expectedSize)
Constructs a new immutable set of elements from the given array. |
HashIntSet |
newImmutableSet(Iterable<Integer> elements)
Constructs a new immutable set containing the elements in the specified iterable. |
HashIntSet |
newImmutableSet(Iterable<Integer> elements,
int expectedSize)
Constructs a new immutable set containing the elements in the specified iterable. |
HashIntSet |
newImmutableSet(Iterable<Integer> elems1,
Iterable<Integer> elems2)
Constructs a new immutable set which merge the elements of the specified iterables. |
HashIntSet |
newImmutableSet(Iterable<Integer> elems1,
Iterable<Integer> elems2,
int expectedSize)
Constructs a new immutable set which merge the elements of the specified iterables. |
HashIntSet |
newImmutableSet(Iterable<Integer> elems1,
Iterable<Integer> elems2,
Iterable<Integer> elems3)
Constructs a new immutable set which merge the elements of the specified iterables. |
HashIntSet |
newImmutableSet(Iterable<Integer> elems1,
Iterable<Integer> elems2,
Iterable<Integer> elems3,
int expectedSize)
Constructs a new immutable set which merge the elements of the specified iterables. |
HashIntSet |
newImmutableSet(Iterable<Integer> elems1,
Iterable<Integer> elems2,
Iterable<Integer> elems3,
Iterable<Integer> elems4)
Constructs a new immutable set which merge the elements of the specified iterables. |
HashIntSet |
newImmutableSet(Iterable<Integer> elems1,
Iterable<Integer> elems2,
Iterable<Integer> elems3,
Iterable<Integer> elems4,
int expectedSize)
Constructs a new immutable set which merge the elements of the specified iterables. |
HashIntSet |
newImmutableSet(Iterable<Integer> elems1,
Iterable<Integer> elems2,
Iterable<Integer> elems3,
Iterable<Integer> elems4,
Iterable<Integer> elems5)
Constructs a new immutable set which merge the elements of the specified iterables. |
HashIntSet |
newImmutableSet(Iterable<Integer> elems1,
Iterable<Integer> elems2,
Iterable<Integer> elems3,
Iterable<Integer> elems4,
Iterable<Integer> elems5,
int expectedSize)
Constructs a new immutable set which merge the elements of the specified iterables. |
HashIntSet |
newImmutableSet(Iterator<Integer> elements)
Constructs a new immutable set containing the elements traversed by the specified iterator. |
HashIntSet |
newImmutableSet(Iterator<Integer> elements,
int expectedSize)
Constructs a new immutable set containing the elements traversed by the specified iterator. |
HashIntSet |
newImmutableSetOf(int e1)
Constructs a new immutable singleton set of the given element. |
HashIntSet |
newImmutableSetOf(int e1,
int e2)
Constructs a new immutable set of the two specified elements. |
HashIntSet |
newImmutableSetOf(int e1,
int e2,
int e3)
Constructs a new immutable set of the three specified elements. |
HashIntSet |
newImmutableSetOf(int e1,
int e2,
int e3,
int e4)
Constructs a new immutable set of the four specified elements. |
HashIntSet |
newImmutableSetOf(int e1,
int e2,
int e3,
int e4,
int e5,
int... restElements)
Constructs a new immutable set of the specified elements. |
HashIntSet |
newMutableSet()
Constructs a new empty mutable set of the default expected size. |
HashIntSet |
newMutableSet(Consumer<IntConsumer> elementsSupplier)
Constructs a new mutable set of elements consumed by the callback within the given closure. |
HashIntSet |
newMutableSet(Consumer<IntConsumer> elementsSupplier,
int expectedSize)
Constructs a new mutable set of elements consumed by the callback within the given closure. |
HashIntSet |
newMutableSet(int expectedSize)
Constructs a new empty mutable set of the given expected size. |
HashIntSet |
newMutableSet(int[] elements)
Constructs a new mutable set of elements from the given array. |
HashIntSet |
newMutableSet(int[] elements,
int expectedSize)
Constructs a new mutable set of elements from the given array. |
HashIntSet |
newMutableSet(Integer[] elements)
Constructs a new mutable set of elements from the given array. |
HashIntSet |
newMutableSet(Integer[] elements,
int expectedSize)
Constructs a new mutable set of elements from the given array. |
HashIntSet |
newMutableSet(Iterable<Integer> elements)
Constructs a new mutable set containing the elements in the specified iterable. |
HashIntSet |
newMutableSet(Iterable<Integer> elements,
int expectedSize)
Constructs a new mutable set containing the elements in the specified iterable. |
HashIntSet |
newMutableSet(Iterable<Integer> elems1,
Iterable<Integer> elems2)
Constructs a new mutable set which merge the elements of the specified iterables. |
HashIntSet |
newMutableSet(Iterable<Integer> elems1,
Iterable<Integer> elems2,
int expectedSize)
Constructs a new mutable set which merge the elements of the specified iterables. |
HashIntSet |
newMutableSet(Iterable<Integer> elems1,
Iterable<Integer> elems2,
Iterable<Integer> elems3)
Constructs a new mutable set which merge the elements of the specified iterables. |
HashIntSet |
newMutableSet(Iterable<Integer> elems1,
Iterable<Integer> elems2,
Iterable<Integer> elems3,
int expectedSize)
Constructs a new mutable set which merge the elements of the specified iterables. |
HashIntSet |
newMutableSet(Iterable<Integer> elems1,
Iterable<Integer> elems2,
Iterable<Integer> elems3,
Iterable<Integer> elems4)
Constructs a new mutable set which merge the elements of the specified iterables. |
HashIntSet |
newMutableSet(Iterable<Integer> elems1,
Iterable<Integer> elems2,
Iterable<Integer> elems3,
Iterable<Integer> elems4,
int expectedSize)
Constructs a new mutable set which merge the elements of the specified iterables. |
HashIntSet |
newMutableSet(Iterable<Integer> elems1,
Iterable<Integer> elems2,
Iterable<Integer> elems3,
Iterable<Integer> elems4,
Iterable<Integer> elems5)
Constructs a new mutable set which merge the elements of the specified iterables. |
HashIntSet |
newMutableSet(Iterable<Integer> elems1,
Iterable<Integer> elems2,
Iterable<Integer> elems3,
Iterable<Integer> elems4,
Iterable<Integer> elems5,
int expectedSize)
Constructs a new mutable set which merge the elements of the specified iterables. |
HashIntSet |
newMutableSet(Iterator<Integer> elements)
Constructs a new mutable set containing the elements traversed by the specified iterator. |
HashIntSet |
newMutableSet(Iterator<Integer> elements,
int expectedSize)
Constructs a new mutable set containing the elements traversed by the specified iterator. |
HashIntSet |
newMutableSetOf(int e1)
Constructs a new mutable singleton set of the given element. |
HashIntSet |
newMutableSetOf(int e1,
int e2)
Constructs a new mutable set of the two specified elements. |
HashIntSet |
newMutableSetOf(int e1,
int e2,
int e3)
Constructs a new mutable set of the three specified elements. |
HashIntSet |
newMutableSetOf(int e1,
int e2,
int e3,
int e4)
Constructs a new mutable set of the four specified elements. |
HashIntSet |
newMutableSetOf(int e1,
int e2,
int e3,
int e4,
int e5,
int... restElements)
Constructs a new mutable set of the specified elements. |
HashIntSet |
newUpdatableSet()
Constructs a new empty updatable set of the default expected size. |
HashIntSet |
newUpdatableSet(Consumer<IntConsumer> elementsSupplier)
Constructs a new updatable set of elements consumed by the callback within the given closure. |
HashIntSet |
newUpdatableSet(Consumer<IntConsumer> elementsSupplier,
int expectedSize)
Constructs a new updatable set of elements consumed by the callback within the given closure. |
HashIntSet |
newUpdatableSet(int expectedSize)
Constructs a new empty updatable set of the given expected size. |
HashIntSet |
newUpdatableSet(int[] elements)
Constructs a new updatable set of elements from the given array. |
HashIntSet |
newUpdatableSet(int[] elements,
int expectedSize)
Constructs a new updatable set of elements from the given array. |
HashIntSet |
newUpdatableSet(Integer[] elements)
Constructs a new updatable set of elements from the given array. |
HashIntSet |
newUpdatableSet(Integer[] elements,
int expectedSize)
Constructs a new updatable set of elements from the given array. |
HashIntSet |
newUpdatableSet(Iterable<Integer> elements)
Constructs a new updatable set containing the elements in the specified iterable. |
HashIntSet |
newUpdatableSet(Iterable<Integer> elements,
int expectedSize)
Constructs a new updatable set containing the elements in the specified iterable. |
HashIntSet |
newUpdatableSet(Iterable<Integer> elems1,
Iterable<Integer> elems2)
Constructs a new updatable set which merge the elements of the specified iterables. |
HashIntSet |
newUpdatableSet(Iterable<Integer> elems1,
Iterable<Integer> elems2,
int expectedSize)
Constructs a new updatable set which merge the elements of the specified iterables. |
HashIntSet |
newUpdatableSet(Iterable<Integer> elems1,
Iterable<Integer> elems2,
Iterable<Integer> elems3)
Constructs a new updatable set which merge the elements of the specified iterables. |
HashIntSet |
newUpdatableSet(Iterable<Integer> elems1,
Iterable<Integer> elems2,
Iterable<Integer> elems3,
int expectedSize)
Constructs a new updatable set which merge the elements of the specified iterables. |
HashIntSet |
newUpdatableSet(Iterable<Integer> elems1,
Iterable<Integer> elems2,
Iterable<Integer> elems3,
Iterable<Integer> elems4)
Constructs a new updatable set which merge the elements of the specified iterables. |
HashIntSet |
newUpdatableSet(Iterable<Integer> elems1,
Iterable<Integer> elems2,
Iterable<Integer> elems3,
Iterable<Integer> elems4,
int expectedSize)
Constructs a new updatable set which merge the elements of the specified iterables. |
HashIntSet |
newUpdatableSet(Iterable<Integer> elems1,
Iterable<Integer> elems2,
Iterable<Integer> elems3,
Iterable<Integer> elems4,
Iterable<Integer> elems5)
Constructs a new updatable set which merge the elements of the specified iterables. |
HashIntSet |
newUpdatableSet(Iterable<Integer> elems1,
Iterable<Integer> elems2,
Iterable<Integer> elems3,
Iterable<Integer> elems4,
Iterable<Integer> elems5,
int expectedSize)
Constructs a new updatable set which merge the elements of the specified iterables. |
HashIntSet |
newUpdatableSet(Iterator<Integer> elements)
Constructs a new updatable set containing the elements traversed by the specified iterator. |
HashIntSet |
newUpdatableSet(Iterator<Integer> elements,
int expectedSize)
Constructs a new updatable set containing the elements traversed by the specified iterator. |
HashIntSet |
newUpdatableSetOf(int e1)
Constructs a new updatable singleton set of the given element. |
HashIntSet |
newUpdatableSetOf(int e1,
int e2)
Constructs a new updatable set of the two specified elements. |
HashIntSet |
newUpdatableSetOf(int e1,
int e2,
int e3)
Constructs a new updatable set of the three specified elements. |
HashIntSet |
newUpdatableSetOf(int e1,
int e2,
int e3,
int e4)
Constructs a new updatable set of the four specified elements. |
HashIntSet |
newUpdatableSetOf(int e1,
int e2,
int e3,
int e4,
int e5,
int... restElements)
Constructs a new updatable set of the specified elements. |
| Methods inherited from interface com.koloboke.collect.hash.IntHashFactory |
|---|
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 HashIntSet newMutableSet()
IntSetFactory
newMutableSet in interface IntSetFactory<HashIntSetFactory>@Nonnull HashIntSet newMutableSet(int expectedSize)
IntSetFactory
newMutableSet in interface IntSetFactory<HashIntSetFactory>expectedSize - the expected size of the returned set
@Nonnull
HashIntSet newMutableSet(@Nonnull
Iterable<Integer> elements,
int expectedSize)
IntSetFactoryIf the specified iterable is a Set
the expectedSize argument is ignored.
newMutableSet in interface IntSetFactory<HashIntSetFactory>elements - the iterable whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set
@Nonnull
HashIntSet newMutableSet(@Nonnull
Iterable<Integer> elems1,
@Nonnull
Iterable<Integer> elems2,
int expectedSize)
IntSetFactory
newMutableSet in interface IntSetFactory<HashIntSetFactory>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
HashIntSet newMutableSet(@Nonnull
Iterable<Integer> elems1,
@Nonnull
Iterable<Integer> elems2,
@Nonnull
Iterable<Integer> elems3,
int expectedSize)
IntSetFactory
newMutableSet in interface IntSetFactory<HashIntSetFactory>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
HashIntSet newMutableSet(@Nonnull
Iterable<Integer> elems1,
@Nonnull
Iterable<Integer> elems2,
@Nonnull
Iterable<Integer> elems3,
@Nonnull
Iterable<Integer> elems4,
int expectedSize)
IntSetFactory
newMutableSet in interface IntSetFactory<HashIntSetFactory>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
HashIntSet newMutableSet(@Nonnull
Iterable<Integer> elems1,
@Nonnull
Iterable<Integer> elems2,
@Nonnull
Iterable<Integer> elems3,
@Nonnull
Iterable<Integer> elems4,
@Nonnull
Iterable<Integer> elems5,
int expectedSize)
IntSetFactory
newMutableSet in interface IntSetFactory<HashIntSetFactory>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
HashIntSet newMutableSet(@Nonnull
Iterator<Integer> elements,
int expectedSize)
IntSetFactory
newMutableSet in interface IntSetFactory<HashIntSetFactory>elements - the iterator from which elements are to be placed into the returned setexpectedSize - the expected size of the returned set
@Nonnull
HashIntSet newMutableSet(@Nonnull
Consumer<IntConsumer> elementsSupplier,
int expectedSize)
IntSetFactoryExample: TODO
newMutableSet in interface IntSetFactory<HashIntSetFactory>elementsSupplier - the function which supply mappings for the returned set via
the callback passed inexpectedSize - the expected size of the returned set
@Nonnull
HashIntSet newMutableSet(@Nonnull
int[] elements,
int expectedSize)
IntSetFactory
newMutableSet in interface IntSetFactory<HashIntSetFactory>elements - the array whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set
@Nonnull
HashIntSet newMutableSet(@Nonnull
Integer[] elements,
int expectedSize)
IntSetFactory
newMutableSet in interface IntSetFactory<HashIntSetFactory>elements - the array whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set
@Nonnull
HashIntSet newMutableSet(@Nonnull
Iterable<Integer> elements)
IntSetFactory
newMutableSet in interface IntSetFactory<HashIntSetFactory>elements - the iterable whose elements are to be placed into the returned set
@Nonnull
HashIntSet newMutableSet(@Nonnull
Iterable<Integer> elems1,
@Nonnull
Iterable<Integer> elems2)
IntSetFactory
newMutableSet in interface IntSetFactory<HashIntSetFactory>elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned set
@Nonnull
HashIntSet newMutableSet(@Nonnull
Iterable<Integer> elems1,
@Nonnull
Iterable<Integer> elems2,
@Nonnull
Iterable<Integer> elems3)
IntSetFactory
newMutableSet in interface IntSetFactory<HashIntSetFactory>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
HashIntSet newMutableSet(@Nonnull
Iterable<Integer> elems1,
@Nonnull
Iterable<Integer> elems2,
@Nonnull
Iterable<Integer> elems3,
@Nonnull
Iterable<Integer> elems4)
IntSetFactory
newMutableSet in interface IntSetFactory<HashIntSetFactory>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
HashIntSet newMutableSet(@Nonnull
Iterable<Integer> elems1,
@Nonnull
Iterable<Integer> elems2,
@Nonnull
Iterable<Integer> elems3,
@Nonnull
Iterable<Integer> elems4,
@Nonnull
Iterable<Integer> elems5)
IntSetFactory
newMutableSet in interface IntSetFactory<HashIntSetFactory>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
HashIntSet newMutableSet(@Nonnull
Iterator<Integer> elements)
IntSetFactory
newMutableSet in interface IntSetFactory<HashIntSetFactory>elements - the iterator from which elements are to be placed into the returned set
@Nonnull
HashIntSet newMutableSet(@Nonnull
Consumer<IntConsumer> elementsSupplier)
IntSetFactoryExample: TODO
newMutableSet in interface IntSetFactory<HashIntSetFactory>elementsSupplier - the function which supply mappings for the returned set via
the callback passed in
@Nonnull
HashIntSet newMutableSet(@Nonnull
int[] elements)
IntSetFactory
newMutableSet in interface IntSetFactory<HashIntSetFactory>elements - the array whose elements are to be placed into the returned set
@Nonnull
HashIntSet newMutableSet(@Nonnull
Integer[] elements)
IntSetFactory
newMutableSet in interface IntSetFactory<HashIntSetFactory>elements - the array whose elements are to be placed into the returned set
@Nonnull HashIntSet newMutableSetOf(int e1)
IntSetFactory
newMutableSetOf in interface IntSetFactory<HashIntSetFactory>e1 - the sole element
@Nonnull
HashIntSet newMutableSetOf(int e1,
int e2)
IntSetFactory
newMutableSetOf in interface IntSetFactory<HashIntSetFactory>e1 - the first elemente2 - the second element
@Nonnull
HashIntSet newMutableSetOf(int e1,
int e2,
int e3)
IntSetFactory
newMutableSetOf in interface IntSetFactory<HashIntSetFactory>e1 - the first elemente2 - the second elemente3 - the third element
@Nonnull
HashIntSet newMutableSetOf(int e1,
int e2,
int e3,
int e4)
IntSetFactory
newMutableSetOf in interface IntSetFactory<HashIntSetFactory>e1 - the first elemente2 - the second elemente3 - the third elemente4 - the fourth element
@Nonnull
HashIntSet newMutableSetOf(int e1,
int e2,
int e3,
int e4,
int e5,
int... restElements)
IntSetFactory
newMutableSetOf in interface IntSetFactory<HashIntSetFactory>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 HashIntSet newUpdatableSet()
IntSetFactory
newUpdatableSet in interface IntSetFactory<HashIntSetFactory>@Nonnull HashIntSet newUpdatableSet(int expectedSize)
IntSetFactory
newUpdatableSet in interface IntSetFactory<HashIntSetFactory>expectedSize - the expected size of the returned set
@Nonnull
HashIntSet newUpdatableSet(@Nonnull
Iterable<Integer> elements,
int expectedSize)
IntSetFactoryIf the specified iterable is a Set
the expectedSize argument is ignored.
newUpdatableSet in interface IntSetFactory<HashIntSetFactory>elements - the iterable whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set
@Nonnull
HashIntSet newUpdatableSet(@Nonnull
Iterable<Integer> elems1,
@Nonnull
Iterable<Integer> elems2,
int expectedSize)
IntSetFactory
newUpdatableSet in interface IntSetFactory<HashIntSetFactory>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
HashIntSet newUpdatableSet(@Nonnull
Iterable<Integer> elems1,
@Nonnull
Iterable<Integer> elems2,
@Nonnull
Iterable<Integer> elems3,
int expectedSize)
IntSetFactory
newUpdatableSet in interface IntSetFactory<HashIntSetFactory>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
HashIntSet newUpdatableSet(@Nonnull
Iterable<Integer> elems1,
@Nonnull
Iterable<Integer> elems2,
@Nonnull
Iterable<Integer> elems3,
@Nonnull
Iterable<Integer> elems4,
int expectedSize)
IntSetFactory
newUpdatableSet in interface IntSetFactory<HashIntSetFactory>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
HashIntSet newUpdatableSet(@Nonnull
Iterable<Integer> elems1,
@Nonnull
Iterable<Integer> elems2,
@Nonnull
Iterable<Integer> elems3,
@Nonnull
Iterable<Integer> elems4,
@Nonnull
Iterable<Integer> elems5,
int expectedSize)
IntSetFactory
newUpdatableSet in interface IntSetFactory<HashIntSetFactory>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
HashIntSet newUpdatableSet(@Nonnull
Iterator<Integer> elements,
int expectedSize)
IntSetFactory
newUpdatableSet in interface IntSetFactory<HashIntSetFactory>elements - the iterator from which elements are to be placed into the returned setexpectedSize - the expected size of the returned set
@Nonnull
HashIntSet newUpdatableSet(@Nonnull
Consumer<IntConsumer> elementsSupplier,
int expectedSize)
IntSetFactoryExample: TODO
newUpdatableSet in interface IntSetFactory<HashIntSetFactory>elementsSupplier - the function which supply mappings for the returned set via
the callback passed inexpectedSize - the expected size of the returned set
@Nonnull
HashIntSet newUpdatableSet(@Nonnull
int[] elements,
int expectedSize)
IntSetFactory
newUpdatableSet in interface IntSetFactory<HashIntSetFactory>elements - the array whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set
@Nonnull
HashIntSet newUpdatableSet(@Nonnull
Integer[] elements,
int expectedSize)
IntSetFactory
newUpdatableSet in interface IntSetFactory<HashIntSetFactory>elements - the array whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set
@Nonnull
HashIntSet newUpdatableSet(@Nonnull
Iterable<Integer> elements)
IntSetFactory
newUpdatableSet in interface IntSetFactory<HashIntSetFactory>elements - the iterable whose elements are to be placed into the returned set
@Nonnull
HashIntSet newUpdatableSet(@Nonnull
Iterable<Integer> elems1,
@Nonnull
Iterable<Integer> elems2)
IntSetFactory
newUpdatableSet in interface IntSetFactory<HashIntSetFactory>elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned set
@Nonnull
HashIntSet newUpdatableSet(@Nonnull
Iterable<Integer> elems1,
@Nonnull
Iterable<Integer> elems2,
@Nonnull
Iterable<Integer> elems3)
IntSetFactory
newUpdatableSet in interface IntSetFactory<HashIntSetFactory>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
HashIntSet newUpdatableSet(@Nonnull
Iterable<Integer> elems1,
@Nonnull
Iterable<Integer> elems2,
@Nonnull
Iterable<Integer> elems3,
@Nonnull
Iterable<Integer> elems4)
IntSetFactory
newUpdatableSet in interface IntSetFactory<HashIntSetFactory>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
HashIntSet newUpdatableSet(@Nonnull
Iterable<Integer> elems1,
@Nonnull
Iterable<Integer> elems2,
@Nonnull
Iterable<Integer> elems3,
@Nonnull
Iterable<Integer> elems4,
@Nonnull
Iterable<Integer> elems5)
IntSetFactory
newUpdatableSet in interface IntSetFactory<HashIntSetFactory>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
HashIntSet newUpdatableSet(@Nonnull
Iterator<Integer> elements)
IntSetFactory
newUpdatableSet in interface IntSetFactory<HashIntSetFactory>elements - the iterator from which elements are to be placed into the returned set
@Nonnull
HashIntSet newUpdatableSet(@Nonnull
Consumer<IntConsumer> elementsSupplier)
IntSetFactoryExample: TODO
newUpdatableSet in interface IntSetFactory<HashIntSetFactory>elementsSupplier - the function which supply mappings for the returned set via
the callback passed in
@Nonnull
HashIntSet newUpdatableSet(@Nonnull
int[] elements)
IntSetFactory
newUpdatableSet in interface IntSetFactory<HashIntSetFactory>elements - the array whose elements are to be placed into the returned set
@Nonnull
HashIntSet newUpdatableSet(@Nonnull
Integer[] elements)
IntSetFactory
newUpdatableSet in interface IntSetFactory<HashIntSetFactory>elements - the array whose elements are to be placed into the returned set
@Nonnull HashIntSet newUpdatableSetOf(int e1)
IntSetFactory
newUpdatableSetOf in interface IntSetFactory<HashIntSetFactory>e1 - the sole element
@Nonnull
HashIntSet newUpdatableSetOf(int e1,
int e2)
IntSetFactory
newUpdatableSetOf in interface IntSetFactory<HashIntSetFactory>e1 - the first elemente2 - the second element
@Nonnull
HashIntSet newUpdatableSetOf(int e1,
int e2,
int e3)
IntSetFactory
newUpdatableSetOf in interface IntSetFactory<HashIntSetFactory>e1 - the first elemente2 - the second elemente3 - the third element
@Nonnull
HashIntSet newUpdatableSetOf(int e1,
int e2,
int e3,
int e4)
IntSetFactory
newUpdatableSetOf in interface IntSetFactory<HashIntSetFactory>e1 - the first elemente2 - the second elemente3 - the third elemente4 - the fourth element
@Nonnull
HashIntSet newUpdatableSetOf(int e1,
int e2,
int e3,
int e4,
int e5,
int... restElements)
IntSetFactory
newUpdatableSetOf in interface IntSetFactory<HashIntSetFactory>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
HashIntSet newImmutableSet(@Nonnull
Iterable<Integer> elements,
int expectedSize)
IntSetFactoryIf the specified iterable is a Set
the expectedSize argument is ignored.
newImmutableSet in interface IntSetFactory<HashIntSetFactory>elements - the iterable whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set
@Nonnull
HashIntSet newImmutableSet(@Nonnull
Iterable<Integer> elems1,
@Nonnull
Iterable<Integer> elems2,
int expectedSize)
IntSetFactory
newImmutableSet in interface IntSetFactory<HashIntSetFactory>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
HashIntSet newImmutableSet(@Nonnull
Iterable<Integer> elems1,
@Nonnull
Iterable<Integer> elems2,
@Nonnull
Iterable<Integer> elems3,
int expectedSize)
IntSetFactory
newImmutableSet in interface IntSetFactory<HashIntSetFactory>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
HashIntSet newImmutableSet(@Nonnull
Iterable<Integer> elems1,
@Nonnull
Iterable<Integer> elems2,
@Nonnull
Iterable<Integer> elems3,
@Nonnull
Iterable<Integer> elems4,
int expectedSize)
IntSetFactory
newImmutableSet in interface IntSetFactory<HashIntSetFactory>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
HashIntSet newImmutableSet(@Nonnull
Iterable<Integer> elems1,
@Nonnull
Iterable<Integer> elems2,
@Nonnull
Iterable<Integer> elems3,
@Nonnull
Iterable<Integer> elems4,
@Nonnull
Iterable<Integer> elems5,
int expectedSize)
IntSetFactory
newImmutableSet in interface IntSetFactory<HashIntSetFactory>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
HashIntSet newImmutableSet(@Nonnull
Iterator<Integer> elements,
int expectedSize)
IntSetFactory
newImmutableSet in interface IntSetFactory<HashIntSetFactory>elements - the iterator from which elements are to be placed into the returned setexpectedSize - the expected size of the returned set
@Nonnull
HashIntSet newImmutableSet(@Nonnull
Consumer<IntConsumer> elementsSupplier,
int expectedSize)
IntSetFactoryExample: TODO
newImmutableSet in interface IntSetFactory<HashIntSetFactory>elementsSupplier - the function which supply mappings for the returned set via
the callback passed inexpectedSize - the expected size of the returned set
@Nonnull
HashIntSet newImmutableSet(@Nonnull
int[] elements,
int expectedSize)
IntSetFactory
newImmutableSet in interface IntSetFactory<HashIntSetFactory>elements - the array whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set
@Nonnull
HashIntSet newImmutableSet(@Nonnull
Integer[] elements,
int expectedSize)
IntSetFactory
newImmutableSet in interface IntSetFactory<HashIntSetFactory>elements - the array whose elements are to be placed into the returned setexpectedSize - the expected size of the returned set
@Nonnull
HashIntSet newImmutableSet(@Nonnull
Iterable<Integer> elements)
IntSetFactory
newImmutableSet in interface IntSetFactory<HashIntSetFactory>elements - the iterable whose elements are to be placed into the returned set
@Nonnull
HashIntSet newImmutableSet(@Nonnull
Iterable<Integer> elems1,
@Nonnull
Iterable<Integer> elems2)
IntSetFactory
newImmutableSet in interface IntSetFactory<HashIntSetFactory>elems1 - the first source of elements for the returned setelems2 - the second source of elements for the returned set
@Nonnull
HashIntSet newImmutableSet(@Nonnull
Iterable<Integer> elems1,
@Nonnull
Iterable<Integer> elems2,
@Nonnull
Iterable<Integer> elems3)
IntSetFactory
newImmutableSet in interface IntSetFactory<HashIntSetFactory>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
HashIntSet newImmutableSet(@Nonnull
Iterable<Integer> elems1,
@Nonnull
Iterable<Integer> elems2,
@Nonnull
Iterable<Integer> elems3,
@Nonnull
Iterable<Integer> elems4)
IntSetFactory
newImmutableSet in interface IntSetFactory<HashIntSetFactory>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
HashIntSet newImmutableSet(@Nonnull
Iterable<Integer> elems1,
@Nonnull
Iterable<Integer> elems2,
@Nonnull
Iterable<Integer> elems3,
@Nonnull
Iterable<Integer> elems4,
@Nonnull
Iterable<Integer> elems5)
IntSetFactory
newImmutableSet in interface IntSetFactory<HashIntSetFactory>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
HashIntSet newImmutableSet(@Nonnull
Iterator<Integer> elements)
IntSetFactory
newImmutableSet in interface IntSetFactory<HashIntSetFactory>elements - the iterator from which elements are to be placed into the returned set
@Nonnull
HashIntSet newImmutableSet(@Nonnull
Consumer<IntConsumer> elementsSupplier)
IntSetFactoryExample: TODO
newImmutableSet in interface IntSetFactory<HashIntSetFactory>elementsSupplier - the function which supply mappings for the returned set via
the callback passed in
@Nonnull
HashIntSet newImmutableSet(@Nonnull
int[] elements)
IntSetFactory
newImmutableSet in interface IntSetFactory<HashIntSetFactory>elements - the array whose elements are to be placed into the returned set
@Nonnull
HashIntSet newImmutableSet(@Nonnull
Integer[] elements)
IntSetFactory
newImmutableSet in interface IntSetFactory<HashIntSetFactory>elements - the array whose elements are to be placed into the returned set
@Nonnull HashIntSet newImmutableSetOf(int e1)
IntSetFactory
newImmutableSetOf in interface IntSetFactory<HashIntSetFactory>e1 - the sole element
@Nonnull
HashIntSet newImmutableSetOf(int e1,
int e2)
IntSetFactory
newImmutableSetOf in interface IntSetFactory<HashIntSetFactory>e1 - the first elemente2 - the second element
@Nonnull
HashIntSet newImmutableSetOf(int e1,
int e2,
int e3)
IntSetFactory
newImmutableSetOf in interface IntSetFactory<HashIntSetFactory>e1 - the first elemente2 - the second elemente3 - the third element
@Nonnull
HashIntSet newImmutableSetOf(int e1,
int e2,
int e3,
int e4)
IntSetFactory
newImmutableSetOf in interface IntSetFactory<HashIntSetFactory>e1 - the first elemente2 - the second elemente3 - the third elemente4 - the fourth element
@Nonnull
HashIntSet newImmutableSetOf(int e1,
int e2,
int e3,
int e4,
int e5,
int... restElements)
IntSetFactory
newImmutableSetOf in interface IntSetFactory<HashIntSetFactory>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 | |||||||||