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