F
- the concrete factory type which extends this interfacepublic interface CharSetFactory<F extends CharSetFactory<F>> extends ContainerFactory<F>
CharSet
s.CharSet
,
@KolobokeSet
Modifier and Type | Method and Description |
---|---|
CharSet |
newImmutableSet(char[] elements)
Constructs a new immutable set of elements from the given array.
|
CharSet |
newImmutableSet(char[] elements,
int expectedSize)
Constructs a new immutable set of elements from the given array.
|
CharSet |
newImmutableSet(Character[] elements)
Constructs a new immutable set of elements from the given array.
|
CharSet |
newImmutableSet(Character[] elements,
int expectedSize)
Constructs a new immutable set of elements from the given array.
|
CharSet |
newImmutableSet(Consumer<CharConsumer> elementsSupplier)
Constructs a new immutable set of elements consumed by the callback within the given closure.
|
CharSet |
newImmutableSet(Consumer<CharConsumer> elementsSupplier,
int expectedSize)
Constructs a new immutable set of elements consumed by the callback within the given closure.
|
CharSet |
newImmutableSet(Iterable<Character> elements)
Constructs a new immutable set containing the elements in the specified iterable.
|
CharSet |
newImmutableSet(Iterable<Character> elements,
int expectedSize)
Constructs a new immutable set containing the elements in the specified iterable.
|
CharSet |
newImmutableSet(Iterable<Character> elems1,
Iterable<Character> elems2)
Constructs a new immutable set which merge the elements of the specified iterables.
|
CharSet |
newImmutableSet(Iterable<Character> elems1,
Iterable<Character> elems2,
int expectedSize)
Constructs a new immutable set which merge the elements of the specified iterables.
|
CharSet |
newImmutableSet(Iterable<Character> elems1,
Iterable<Character> elems2,
Iterable<Character> elems3)
Constructs a new immutable set which merge the elements of the specified iterables.
|
CharSet |
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.
|
CharSet |
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.
|
CharSet |
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.
|
CharSet |
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.
|
CharSet |
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.
|
CharSet |
newImmutableSet(Iterator<Character> elements)
Constructs a new immutable set containing the elements traversed by the specified iterator.
|
CharSet |
newImmutableSet(Iterator<Character> elements,
int expectedSize)
Constructs a new immutable set containing the elements traversed by the specified iterator.
|
CharSet |
newImmutableSetOf(char e1)
Constructs a new immutable singleton set of the given element.
|
CharSet |
newImmutableSetOf(char e1,
char e2)
Constructs a new immutable set of the two specified elements.
|
CharSet |
newImmutableSetOf(char e1,
char e2,
char e3)
Constructs a new immutable set of the three specified elements.
|
CharSet |
newImmutableSetOf(char e1,
char e2,
char e3,
char e4)
Constructs a new immutable set of the four specified elements.
|
CharSet |
newImmutableSetOf(char e1,
char e2,
char e3,
char e4,
char e5,
char... restElements)
Constructs a new immutable set of the specified elements.
|
CharSet |
newMutableSet()
Constructs a new empty mutable set of the default
expected size.
|
CharSet |
newMutableSet(char[] elements)
Constructs a new mutable set of elements from the given array.
|
CharSet |
newMutableSet(char[] elements,
int expectedSize)
Constructs a new mutable set of elements from the given array.
|
CharSet |
newMutableSet(Character[] elements)
Constructs a new mutable set of elements from the given array.
|
CharSet |
newMutableSet(Character[] elements,
int expectedSize)
Constructs a new mutable set of elements from the given array.
|
CharSet |
newMutableSet(Consumer<CharConsumer> elementsSupplier)
Constructs a new mutable set of elements consumed by the callback within the given closure.
|
CharSet |
newMutableSet(Consumer<CharConsumer> elementsSupplier,
int expectedSize)
Constructs a new mutable set of elements consumed by the callback within the given closure.
|
CharSet |
newMutableSet(int expectedSize)
Constructs a new empty mutable set of the given expected size.
|
CharSet |
newMutableSet(Iterable<Character> elements)
Constructs a new mutable set containing the elements in the specified iterable.
|
CharSet |
newMutableSet(Iterable<Character> elements,
int expectedSize)
Constructs a new mutable set containing the elements in the specified iterable.
|
CharSet |
newMutableSet(Iterable<Character> elems1,
Iterable<Character> elems2)
Constructs a new mutable set which merge the elements of the specified iterables.
|
CharSet |
newMutableSet(Iterable<Character> elems1,
Iterable<Character> elems2,
int expectedSize)
Constructs a new mutable set which merge the elements of the specified iterables.
|
CharSet |
newMutableSet(Iterable<Character> elems1,
Iterable<Character> elems2,
Iterable<Character> elems3)
Constructs a new mutable set which merge the elements of the specified iterables.
|
CharSet |
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.
|
CharSet |
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.
|
CharSet |
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.
|
CharSet |
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.
|
CharSet |
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.
|
CharSet |
newMutableSet(Iterator<Character> elements)
Constructs a new mutable set containing the elements traversed by the specified iterator.
|
CharSet |
newMutableSet(Iterator<Character> elements,
int expectedSize)
Constructs a new mutable set containing the elements traversed by the specified iterator.
|
CharSet |
newMutableSetOf(char e1)
Constructs a new mutable singleton set of the given element.
|
CharSet |
newMutableSetOf(char e1,
char e2)
Constructs a new mutable set of the two specified elements.
|
CharSet |
newMutableSetOf(char e1,
char e2,
char e3)
Constructs a new mutable set of the three specified elements.
|
CharSet |
newMutableSetOf(char e1,
char e2,
char e3,
char e4)
Constructs a new mutable set of the four specified elements.
|
CharSet |
newMutableSetOf(char e1,
char e2,
char e3,
char e4,
char e5,
char... restElements)
Constructs a new mutable set of the specified elements.
|
CharSet |
newUpdatableSet()
Constructs a new empty updatable set of the default
expected size.
|
CharSet |
newUpdatableSet(char[] elements)
Constructs a new updatable set of elements from the given array.
|
CharSet |
newUpdatableSet(char[] elements,
int expectedSize)
Constructs a new updatable set of elements from the given array.
|
CharSet |
newUpdatableSet(Character[] elements)
Constructs a new updatable set of elements from the given array.
|
CharSet |
newUpdatableSet(Character[] elements,
int expectedSize)
Constructs a new updatable set of elements from the given array.
|
CharSet |
newUpdatableSet(Consumer<CharConsumer> elementsSupplier)
Constructs a new updatable set of elements consumed by the callback within the given closure.
|
CharSet |
newUpdatableSet(Consumer<CharConsumer> elementsSupplier,
int expectedSize)
Constructs a new updatable set of elements consumed by the callback within the given closure.
|
CharSet |
newUpdatableSet(int expectedSize)
Constructs a new empty updatable set of the given expected size.
|
CharSet |
newUpdatableSet(Iterable<Character> elements)
Constructs a new updatable set containing the elements in the specified iterable.
|
CharSet |
newUpdatableSet(Iterable<Character> elements,
int expectedSize)
Constructs a new updatable set containing the elements in the specified iterable.
|
CharSet |
newUpdatableSet(Iterable<Character> elems1,
Iterable<Character> elems2)
Constructs a new updatable set which merge the elements of the specified iterables.
|
CharSet |
newUpdatableSet(Iterable<Character> elems1,
Iterable<Character> elems2,
int expectedSize)
Constructs a new updatable set which merge the elements of the specified iterables.
|
CharSet |
newUpdatableSet(Iterable<Character> elems1,
Iterable<Character> elems2,
Iterable<Character> elems3)
Constructs a new updatable set which merge the elements of the specified iterables.
|
CharSet |
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.
|
CharSet |
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.
|
CharSet |
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.
|
CharSet |
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.
|
CharSet |
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.
|
CharSet |
newUpdatableSet(Iterator<Character> elements)
Constructs a new updatable set containing the elements traversed by the specified iterator.
|
CharSet |
newUpdatableSet(Iterator<Character> elements,
int expectedSize)
Constructs a new updatable set containing the elements traversed by the specified iterator.
|
CharSet |
newUpdatableSetOf(char e1)
Constructs a new updatable singleton set of the given element.
|
CharSet |
newUpdatableSetOf(char e1,
char e2)
Constructs a new updatable set of the two specified elements.
|
CharSet |
newUpdatableSetOf(char e1,
char e2,
char e3)
Constructs a new updatable set of the three specified elements.
|
CharSet |
newUpdatableSetOf(char e1,
char e2,
char e3,
char e4)
Constructs a new updatable set of the four specified elements.
|
CharSet |
newUpdatableSetOf(char e1,
char e2,
char e3,
char e4,
char e5,
char... restElements)
Constructs a new updatable set of the specified elements.
|
getDefaultExpectedSize, withDefaultExpectedSize
@Nonnull CharSet newMutableSet()
@Nonnull CharSet newMutableSet(int expectedSize)
expectedSize
- the expected size of the returned set@Nonnull CharSet newMutableSet(@Nonnull Iterable<Character> elements, int expectedSize)
If the specified iterable is a Set
the expectedSize
argument is ignored.
elements
- the iterable whose elements are to be placed into the returned setexpectedSize
- the expected size of the returned set@Nonnull CharSet newMutableSet(@Nonnull Iterable<Character> elems1, @Nonnull Iterable<Character> elems2, int expectedSize)
elems1
- the first source of elements for the returned setelems2
- the second source of elements for the returned setexpectedSize
- the expected size of the returned set@Nonnull CharSet newMutableSet(@Nonnull Iterable<Character> elems1, @Nonnull Iterable<Character> elems2, @Nonnull Iterable<Character> elems3, int expectedSize)
elems1
- the first source of elements for the returned setelems2
- the second source of elements for the returned setelems3
- the third source of elements for the returned setexpectedSize
- the expected size of the returned set@Nonnull CharSet newMutableSet(@Nonnull Iterable<Character> elems1, @Nonnull Iterable<Character> elems2, @Nonnull Iterable<Character> elems3, @Nonnull Iterable<Character> elems4, int expectedSize)
elems1
- the first source of elements for the returned setelems2
- the second source of elements for the returned setelems3
- the third source of elements for the returned setelems4
- the fourth source of elements for the returned setexpectedSize
- the expected size of the returned setCharSet newMutableSet(@Nonnull Iterable<Character> elems1, @Nonnull Iterable<Character> elems2, @Nonnull Iterable<Character> elems3, @Nonnull Iterable<Character> elems4, @Nonnull Iterable<Character> elems5, int expectedSize)
elems1
- the first source of elements for the returned setelems2
- the second source of elements for the returned setelems3
- the third source of elements for the returned setelems4
- the fourth source of elements for the returned setelems5
- the fifth source of elements for the returned setexpectedSize
- the expected size of the returned set@Nonnull CharSet newMutableSet(@Nonnull Iterator<Character> elements, int expectedSize)
elements
- the iterator from which elements are to be placed into the returned setexpectedSize
- the expected size of the returned set@Nonnull CharSet newMutableSet(@Nonnull Consumer<CharConsumer> elementsSupplier, int expectedSize)
Example: TODO
elementsSupplier
- the function which supply mappings for the returned set via
the callback passed inexpectedSize
- the expected size of the returned set@Nonnull CharSet newMutableSet(@Nonnull char[] elements, int expectedSize)
elements
- the array whose elements are to be placed into the returned setexpectedSize
- the expected size of the returned set@Nonnull CharSet newMutableSet(@Nonnull Character[] elements, int expectedSize)
elements
- the array whose elements are to be placed into the returned setexpectedSize
- the expected size of the returned setNullPointerException
- if elements
array contain null
elements@Nonnull CharSet newMutableSet(@Nonnull Iterable<Character> elements)
elements
- the iterable whose elements are to be placed into the returned set@Nonnull CharSet newMutableSet(@Nonnull Iterable<Character> elems1, @Nonnull Iterable<Character> elems2)
elems1
- the first source of elements for the returned setelems2
- the second source of elements for the returned set@Nonnull CharSet newMutableSet(@Nonnull Iterable<Character> elems1, @Nonnull Iterable<Character> elems2, @Nonnull Iterable<Character> elems3)
elems1
- the first source of elements for the returned setelems2
- the second source of elements for the returned setelems3
- the third source of elements for the returned set@Nonnull CharSet newMutableSet(@Nonnull Iterable<Character> elems1, @Nonnull Iterable<Character> elems2, @Nonnull Iterable<Character> elems3, @Nonnull Iterable<Character> elems4)
elems1
- the first source of elements for the returned setelems2
- the second source of elements for the returned setelems3
- the third source of elements for the returned setelems4
- the fourth source of elements for the returned setCharSet newMutableSet(@Nonnull Iterable<Character> elems1, @Nonnull Iterable<Character> elems2, @Nonnull Iterable<Character> elems3, @Nonnull Iterable<Character> elems4, @Nonnull Iterable<Character> elems5)
elems1
- the first source of elements for the returned setelems2
- the second source of elements for the returned setelems3
- the third source of elements for the returned setelems4
- the fourth source of elements for the returned setelems5
- the fifth source of elements for the returned set@Nonnull CharSet newMutableSet(@Nonnull Iterator<Character> elements)
elements
- the iterator from which elements are to be placed into the returned set@Nonnull CharSet newMutableSet(@Nonnull Consumer<CharConsumer> elementsSupplier)
Example: TODO
elementsSupplier
- the function which supply mappings for the returned set via
the callback passed in@Nonnull CharSet newMutableSet(@Nonnull char[] elements)
elements
- the array whose elements are to be placed into the returned set@Nonnull CharSet newMutableSet(@Nonnull Character[] elements)
elements
- the array whose elements are to be placed into the returned setNullPointerException
- if elements
array contain null
elements@Nonnull CharSet newMutableSetOf(char e1)
e1
- the sole element@Nonnull CharSet newMutableSetOf(char e1, char e2)
e1
- the first elemente2
- the second element@Nonnull CharSet newMutableSetOf(char e1, char e2, char e3)
e1
- the first elemente2
- the second elemente3
- the third element@Nonnull CharSet newMutableSetOf(char e1, char e2, char e3, char e4)
e1
- the first elemente2
- the second elemente3
- the third elemente4
- the fourth element@Nonnull CharSet newMutableSetOf(char e1, char e2, char e3, char e4, char e5, char... restElements)
e1
- the first elemente2
- the second elemente3
- the third elemente4
- the fourth elemente5
- the fifth elementrestElements
- the rest elements to be placed into the set@Nonnull CharSet newUpdatableSet()
@Nonnull CharSet newUpdatableSet(int expectedSize)
expectedSize
- the expected size of the returned set@Nonnull CharSet newUpdatableSet(@Nonnull Iterable<Character> elements, int expectedSize)
If the specified iterable is a Set
the expectedSize
argument is ignored.
elements
- the iterable whose elements are to be placed into the returned setexpectedSize
- the expected size of the returned set@Nonnull CharSet newUpdatableSet(@Nonnull Iterable<Character> elems1, @Nonnull Iterable<Character> elems2, int expectedSize)
elems1
- the first source of elements for the returned setelems2
- the second source of elements for the returned setexpectedSize
- the expected size of the returned set@Nonnull CharSet newUpdatableSet(@Nonnull Iterable<Character> elems1, @Nonnull Iterable<Character> elems2, @Nonnull Iterable<Character> elems3, int expectedSize)
elems1
- the first source of elements for the returned setelems2
- the second source of elements for the returned setelems3
- the third source of elements for the returned setexpectedSize
- the expected size of the returned set@Nonnull CharSet newUpdatableSet(@Nonnull Iterable<Character> elems1, @Nonnull Iterable<Character> elems2, @Nonnull Iterable<Character> elems3, @Nonnull Iterable<Character> elems4, int expectedSize)
elems1
- the first source of elements for the returned setelems2
- the second source of elements for the returned setelems3
- the third source of elements for the returned setelems4
- the fourth source of elements for the returned setexpectedSize
- the expected size of the returned setCharSet newUpdatableSet(@Nonnull Iterable<Character> elems1, @Nonnull Iterable<Character> elems2, @Nonnull Iterable<Character> elems3, @Nonnull Iterable<Character> elems4, @Nonnull Iterable<Character> elems5, int expectedSize)
elems1
- the first source of elements for the returned setelems2
- the second source of elements for the returned setelems3
- the third source of elements for the returned setelems4
- the fourth source of elements for the returned setelems5
- the fifth source of elements for the returned setexpectedSize
- the expected size of the returned set@Nonnull CharSet newUpdatableSet(@Nonnull Iterator<Character> elements, int expectedSize)
elements
- the iterator from which elements are to be placed into the returned setexpectedSize
- the expected size of the returned set@Nonnull CharSet newUpdatableSet(@Nonnull Consumer<CharConsumer> elementsSupplier, int expectedSize)
Example: TODO
elementsSupplier
- the function which supply mappings for the returned set via
the callback passed inexpectedSize
- the expected size of the returned set@Nonnull CharSet newUpdatableSet(@Nonnull char[] elements, int expectedSize)
elements
- the array whose elements are to be placed into the returned setexpectedSize
- the expected size of the returned set@Nonnull CharSet newUpdatableSet(@Nonnull Character[] elements, int expectedSize)
elements
- the array whose elements are to be placed into the returned setexpectedSize
- the expected size of the returned setNullPointerException
- if elements
array contain null
elements@Nonnull CharSet newUpdatableSet(@Nonnull Iterable<Character> elements)
elements
- the iterable whose elements are to be placed into the returned set@Nonnull CharSet newUpdatableSet(@Nonnull Iterable<Character> elems1, @Nonnull Iterable<Character> elems2)
elems1
- the first source of elements for the returned setelems2
- the second source of elements for the returned set@Nonnull CharSet newUpdatableSet(@Nonnull Iterable<Character> elems1, @Nonnull Iterable<Character> elems2, @Nonnull Iterable<Character> elems3)
elems1
- the first source of elements for the returned setelems2
- the second source of elements for the returned setelems3
- the third source of elements for the returned set@Nonnull CharSet newUpdatableSet(@Nonnull Iterable<Character> elems1, @Nonnull Iterable<Character> elems2, @Nonnull Iterable<Character> elems3, @Nonnull Iterable<Character> elems4)
elems1
- the first source of elements for the returned setelems2
- the second source of elements for the returned setelems3
- the third source of elements for the returned setelems4
- the fourth source of elements for the returned setCharSet newUpdatableSet(@Nonnull Iterable<Character> elems1, @Nonnull Iterable<Character> elems2, @Nonnull Iterable<Character> elems3, @Nonnull Iterable<Character> elems4, @Nonnull Iterable<Character> elems5)
elems1
- the first source of elements for the returned setelems2
- the second source of elements for the returned setelems3
- the third source of elements for the returned setelems4
- the fourth source of elements for the returned setelems5
- the fifth source of elements for the returned set@Nonnull CharSet newUpdatableSet(@Nonnull Iterator<Character> elements)
elements
- the iterator from which elements are to be placed into the returned set@Nonnull CharSet newUpdatableSet(@Nonnull Consumer<CharConsumer> elementsSupplier)
Example: TODO
elementsSupplier
- the function which supply mappings for the returned set via
the callback passed in@Nonnull CharSet newUpdatableSet(@Nonnull char[] elements)
elements
- the array whose elements are to be placed into the returned set@Nonnull CharSet newUpdatableSet(@Nonnull Character[] elements)
elements
- the array whose elements are to be placed into the returned setNullPointerException
- if elements
array contain null
elements@Nonnull CharSet newUpdatableSetOf(char e1)
e1
- the sole element@Nonnull CharSet newUpdatableSetOf(char e1, char e2)
e1
- the first elemente2
- the second element@Nonnull CharSet newUpdatableSetOf(char e1, char e2, char e3)
e1
- the first elemente2
- the second elemente3
- the third element@Nonnull CharSet newUpdatableSetOf(char e1, char e2, char e3, char e4)
e1
- the first elemente2
- the second elemente3
- the third elemente4
- the fourth element@Nonnull CharSet newUpdatableSetOf(char e1, char e2, char e3, char e4, char e5, char... restElements)
e1
- the first elemente2
- the second elemente3
- the third elemente4
- the fourth elemente5
- the fifth elementrestElements
- the rest elements to be placed into the set@Nonnull CharSet newImmutableSet(@Nonnull Iterable<Character> elements, int expectedSize)
If the specified iterable is a Set
the expectedSize
argument is ignored.
elements
- the iterable whose elements are to be placed into the returned setexpectedSize
- the expected size of the returned set@Nonnull CharSet newImmutableSet(@Nonnull Iterable<Character> elems1, @Nonnull Iterable<Character> elems2, int expectedSize)
elems1
- the first source of elements for the returned setelems2
- the second source of elements for the returned setexpectedSize
- the expected size of the returned set@Nonnull CharSet newImmutableSet(@Nonnull Iterable<Character> elems1, @Nonnull Iterable<Character> elems2, @Nonnull Iterable<Character> elems3, int expectedSize)
elems1
- the first source of elements for the returned setelems2
- the second source of elements for the returned setelems3
- the third source of elements for the returned setexpectedSize
- the expected size of the returned set@Nonnull CharSet newImmutableSet(@Nonnull Iterable<Character> elems1, @Nonnull Iterable<Character> elems2, @Nonnull Iterable<Character> elems3, @Nonnull Iterable<Character> elems4, int expectedSize)
elems1
- the first source of elements for the returned setelems2
- the second source of elements for the returned setelems3
- the third source of elements for the returned setelems4
- the fourth source of elements for the returned setexpectedSize
- the expected size of the returned setCharSet newImmutableSet(@Nonnull Iterable<Character> elems1, @Nonnull Iterable<Character> elems2, @Nonnull Iterable<Character> elems3, @Nonnull Iterable<Character> elems4, @Nonnull Iterable<Character> elems5, int expectedSize)
elems1
- the first source of elements for the returned setelems2
- the second source of elements for the returned setelems3
- the third source of elements for the returned setelems4
- the fourth source of elements for the returned setelems5
- the fifth source of elements for the returned setexpectedSize
- the expected size of the returned set@Nonnull CharSet newImmutableSet(@Nonnull Iterator<Character> elements, int expectedSize)
elements
- the iterator from which elements are to be placed into the returned setexpectedSize
- the expected size of the returned set@Nonnull CharSet newImmutableSet(@Nonnull Consumer<CharConsumer> elementsSupplier, int expectedSize)
Example: TODO
elementsSupplier
- the function which supply mappings for the returned set via
the callback passed inexpectedSize
- the expected size of the returned set@Nonnull CharSet newImmutableSet(@Nonnull char[] elements, int expectedSize)
elements
- the array whose elements are to be placed into the returned setexpectedSize
- the expected size of the returned set@Nonnull CharSet newImmutableSet(@Nonnull Character[] elements, int expectedSize)
elements
- the array whose elements are to be placed into the returned setexpectedSize
- the expected size of the returned setNullPointerException
- if elements
array contain null
elements@Nonnull CharSet newImmutableSet(@Nonnull Iterable<Character> elements)
elements
- the iterable whose elements are to be placed into the returned set@Nonnull CharSet newImmutableSet(@Nonnull Iterable<Character> elems1, @Nonnull Iterable<Character> elems2)
elems1
- the first source of elements for the returned setelems2
- the second source of elements for the returned set@Nonnull CharSet newImmutableSet(@Nonnull Iterable<Character> elems1, @Nonnull Iterable<Character> elems2, @Nonnull Iterable<Character> elems3)
elems1
- the first source of elements for the returned setelems2
- the second source of elements for the returned setelems3
- the third source of elements for the returned set@Nonnull CharSet newImmutableSet(@Nonnull Iterable<Character> elems1, @Nonnull Iterable<Character> elems2, @Nonnull Iterable<Character> elems3, @Nonnull Iterable<Character> elems4)
elems1
- the first source of elements for the returned setelems2
- the second source of elements for the returned setelems3
- the third source of elements for the returned setelems4
- the fourth source of elements for the returned setCharSet newImmutableSet(@Nonnull Iterable<Character> elems1, @Nonnull Iterable<Character> elems2, @Nonnull Iterable<Character> elems3, @Nonnull Iterable<Character> elems4, @Nonnull Iterable<Character> elems5)
elems1
- the first source of elements for the returned setelems2
- the second source of elements for the returned setelems3
- the third source of elements for the returned setelems4
- the fourth source of elements for the returned setelems5
- the fifth source of elements for the returned set@Nonnull CharSet newImmutableSet(@Nonnull Iterator<Character> elements)
elements
- the iterator from which elements are to be placed into the returned set@Nonnull CharSet newImmutableSet(@Nonnull Consumer<CharConsumer> elementsSupplier)
Example: TODO
elementsSupplier
- the function which supply mappings for the returned set via
the callback passed in@Nonnull CharSet newImmutableSet(@Nonnull char[] elements)
elements
- the array whose elements are to be placed into the returned set@Nonnull CharSet newImmutableSet(@Nonnull Character[] elements)
elements
- the array whose elements are to be placed into the returned setNullPointerException
- if elements
array contain null
elements@Nonnull CharSet newImmutableSetOf(char e1)
e1
- the sole element@Nonnull CharSet newImmutableSetOf(char e1, char e2)
e1
- the first elemente2
- the second element@Nonnull CharSet newImmutableSetOf(char e1, char e2, char e3)
e1
- the first elemente2
- the second elemente3
- the third element@Nonnull CharSet newImmutableSetOf(char e1, char e2, char e3, char e4)
e1
- the first elemente2
- the second elemente3
- the third elemente4
- the fourth element@Nonnull CharSet newImmutableSetOf(char e1, char e2, char e3, char e4, char e5, char... restElements)
e1
- the first elemente2
- the second elemente3
- the third elemente4
- the fourth elemente5
- the fifth elementrestElements
- the rest elements to be placed into the set