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