com.koloboke.collect.set.hash
Interface HashCharSetFactory

All Superinterfaces:
CharHashFactory<HashCharSetFactory>, CharSetFactory<HashCharSetFactory>, ContainerFactory<HashCharSetFactory>, HashContainerFactory<HashCharSetFactory>

public interface HashCharSetFactory
extends CharSetFactory<HashCharSetFactory>, CharHashFactory<HashCharSetFactory>

An immutable factory of HashCharSets.

See Also:
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

newMutableSet

@Nonnull
HashCharSet newMutableSet()
Description copied from interface: CharSetFactory
Constructs a new empty mutable set of the default expected size.

Specified by:
newMutableSet in interface CharSetFactory<HashCharSetFactory>
Returns:
a new empty mutable set

newMutableSet

@Nonnull
HashCharSet newMutableSet(int expectedSize)
Description copied from interface: CharSetFactory
Constructs a new empty mutable set of the given expected size.

Specified by:
newMutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
expectedSize - the expected size of the returned set
Returns:
a new empty mutable set of the given expected size

newMutableSet

@Nonnull
HashCharSet newMutableSet(@Nonnull
                                  Iterable<Character> elements,
                                  int expectedSize)
Description copied from interface: CharSetFactory
Constructs a new mutable set containing the elements in the specified iterable.

If the specified iterable is a Set the expectedSize argument is ignored.

Specified by:
newMutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elements - the iterable whose elements are to be placed into the returned set
expectedSize - the expected size of the returned set
Returns:
a new mutable set of the elements of the specified iterable

newMutableSet

@Nonnull
HashCharSet newMutableSet(@Nonnull
                                  Iterable<Character> elems1,
                                  @Nonnull
                                  Iterable<Character> elems2,
                                  int expectedSize)
Description copied from interface: CharSetFactory
Constructs a new mutable set which merge the elements of the specified iterables.

Specified by:
newMutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
expectedSize - the expected size of the returned set
Returns:
a new mutable set which merge the elements of the specified iterables

newMutableSet

@Nonnull
HashCharSet newMutableSet(@Nonnull
                                  Iterable<Character> elems1,
                                  @Nonnull
                                  Iterable<Character> elems2,
                                  @Nonnull
                                  Iterable<Character> elems3,
                                  int expectedSize)
Description copied from interface: CharSetFactory
Constructs a new mutable set which merge the elements of the specified iterables.

Specified by:
newMutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
expectedSize - the expected size of the returned set
Returns:
a new mutable set which merge the elements of the specified iterables

newMutableSet

@Nonnull
HashCharSet newMutableSet(@Nonnull
                                  Iterable<Character> elems1,
                                  @Nonnull
                                  Iterable<Character> elems2,
                                  @Nonnull
                                  Iterable<Character> elems3,
                                  @Nonnull
                                  Iterable<Character> elems4,
                                  int expectedSize)
Description copied from interface: CharSetFactory
Constructs a new mutable set which merge the elements of the specified iterables.

Specified by:
newMutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
elems4 - the fourth source of elements for the returned set
expectedSize - the expected size of the returned set
Returns:
a new mutable set which merge the elements of the specified iterables

newMutableSet

@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)
Description copied from interface: CharSetFactory
Constructs a new mutable set which merge the elements of the specified iterables.

Specified by:
newMutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
elems4 - the fourth source of elements for the returned set
elems5 - the fifth source of elements for the returned set
expectedSize - the expected size of the returned set
Returns:
a new mutable set which merge the elements of the specified iterables

newMutableSet

@Nonnull
HashCharSet newMutableSet(@Nonnull
                                  Iterator<Character> elements,
                                  int expectedSize)
Description copied from interface: CharSetFactory
Constructs a new mutable set containing the elements traversed by the specified iterator.

Specified by:
newMutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elements - the iterator from which elements are to be placed into the returned set
expectedSize - the expected size of the returned set
Returns:
a new mutable set containing the elements traversed by the specified iterator

newMutableSet

@Nonnull
HashCharSet newMutableSet(@Nonnull
                                  Consumer<CharConsumer> elementsSupplier,
                                  int expectedSize)
Description copied from interface: CharSetFactory
Constructs a new mutable set of elements consumed by the callback within the given closure.

Example: TODO

Specified by:
newMutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elementsSupplier - the function which supply mappings for the returned set via the callback passed in
expectedSize - the expected size of the returned set
Returns:
a new mutable set of elements consumed by the callback within the given closure

newMutableSet

@Nonnull
HashCharSet newMutableSet(@Nonnull
                                  char[] elements,
                                  int expectedSize)
Description copied from interface: CharSetFactory
Constructs a new mutable set of elements from the given array.

Specified by:
newMutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elements - the array whose elements are to be placed into the returned set
expectedSize - the expected size of the returned set
Returns:
a new mutable set of elements from the given array

newMutableSet

@Nonnull
HashCharSet newMutableSet(@Nonnull
                                  Character[] elements,
                                  int expectedSize)
Description copied from interface: CharSetFactory
Constructs a new mutable set of elements from the given array.

Specified by:
newMutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elements - the array whose elements are to be placed into the returned set
expectedSize - the expected size of the returned set
Returns:
a new mutable set of elements from the given array

newMutableSet

@Nonnull
HashCharSet newMutableSet(@Nonnull
                                  Iterable<Character> elements)
Description copied from interface: CharSetFactory
Constructs a new mutable set containing the elements in the specified iterable.

Specified by:
newMutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elements - the iterable whose elements are to be placed into the returned set
Returns:
a new mutable set of the elements of the specified iterable

newMutableSet

@Nonnull
HashCharSet newMutableSet(@Nonnull
                                  Iterable<Character> elems1,
                                  @Nonnull
                                  Iterable<Character> elems2)
Description copied from interface: CharSetFactory
Constructs a new mutable set which merge the elements of the specified iterables.

Specified by:
newMutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
Returns:
a new mutable set which merge the elements of the specified iterables

newMutableSet

@Nonnull
HashCharSet newMutableSet(@Nonnull
                                  Iterable<Character> elems1,
                                  @Nonnull
                                  Iterable<Character> elems2,
                                  @Nonnull
                                  Iterable<Character> elems3)
Description copied from interface: CharSetFactory
Constructs a new mutable set which merge the elements of the specified iterables.

Specified by:
newMutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
Returns:
a new mutable set which merge the elements of the specified iterables

newMutableSet

@Nonnull
HashCharSet newMutableSet(@Nonnull
                                  Iterable<Character> elems1,
                                  @Nonnull
                                  Iterable<Character> elems2,
                                  @Nonnull
                                  Iterable<Character> elems3,
                                  @Nonnull
                                  Iterable<Character> elems4)
Description copied from interface: CharSetFactory
Constructs a new mutable set which merge the elements of the specified iterables.

Specified by:
newMutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
elems4 - the fourth source of elements for the returned set
Returns:
a new mutable set which merge the elements of the specified iterables

newMutableSet

@Nonnull
HashCharSet newMutableSet(@Nonnull
                                  Iterable<Character> elems1,
                                  @Nonnull
                                  Iterable<Character> elems2,
                                  @Nonnull
                                  Iterable<Character> elems3,
                                  @Nonnull
                                  Iterable<Character> elems4,
                                  @Nonnull
                                  Iterable<Character> elems5)
Description copied from interface: CharSetFactory
Constructs a new mutable set which merge the elements of the specified iterables.

Specified by:
newMutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
elems4 - the fourth source of elements for the returned set
elems5 - the fifth source of elements for the returned set
Returns:
a new mutable set which merge the elements of the specified iterables

newMutableSet

@Nonnull
HashCharSet newMutableSet(@Nonnull
                                  Iterator<Character> elements)
Description copied from interface: CharSetFactory
Constructs a new mutable set containing the elements traversed by the specified iterator.

Specified by:
newMutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elements - the iterator from which elements are to be placed into the returned set
Returns:
a new mutable set containing the elements traversed by the specified iterator

newMutableSet

@Nonnull
HashCharSet newMutableSet(@Nonnull
                                  Consumer<CharConsumer> elementsSupplier)
Description copied from interface: CharSetFactory
Constructs a new mutable set of elements consumed by the callback within the given closure.

Example: TODO

Specified by:
newMutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elementsSupplier - the function which supply mappings for the returned set via the callback passed in
Returns:
a new mutable set of elements consumed by the callback within the given closure

newMutableSet

@Nonnull
HashCharSet newMutableSet(@Nonnull
                                  char[] elements)
Description copied from interface: CharSetFactory
Constructs a new mutable set of elements from the given array.

Specified by:
newMutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elements - the array whose elements are to be placed into the returned set
Returns:
a new mutable set of elements from the given array

newMutableSet

@Nonnull
HashCharSet newMutableSet(@Nonnull
                                  Character[] elements)
Description copied from interface: CharSetFactory
Constructs a new mutable set of elements from the given array.

Specified by:
newMutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elements - the array whose elements are to be placed into the returned set
Returns:
a new mutable set of elements from the given array

newMutableSetOf

@Nonnull
HashCharSet newMutableSetOf(char e1)
Description copied from interface: CharSetFactory
Constructs a new mutable singleton set of the given element.

Specified by:
newMutableSetOf in interface CharSetFactory<HashCharSetFactory>
Parameters:
e1 - the sole element
Returns:
a new mutable singleton set of the given element

newMutableSetOf

@Nonnull
HashCharSet newMutableSetOf(char e1,
                                    char e2)
Description copied from interface: CharSetFactory
Constructs a new mutable set of the two specified elements.

Specified by:
newMutableSetOf in interface CharSetFactory<HashCharSetFactory>
Parameters:
e1 - the first element
e2 - the second element
Returns:
a new mutable set of the two specified elements

newMutableSetOf

@Nonnull
HashCharSet newMutableSetOf(char e1,
                                    char e2,
                                    char e3)
Description copied from interface: CharSetFactory
Constructs a new mutable set of the three specified elements.

Specified by:
newMutableSetOf in interface CharSetFactory<HashCharSetFactory>
Parameters:
e1 - the first element
e2 - the second element
e3 - the third element
Returns:
a new mutable set of the three specified elements

newMutableSetOf

@Nonnull
HashCharSet newMutableSetOf(char e1,
                                    char e2,
                                    char e3,
                                    char e4)
Description copied from interface: CharSetFactory
Constructs a new mutable set of the four specified elements.

Specified by:
newMutableSetOf in interface CharSetFactory<HashCharSetFactory>
Parameters:
e1 - the first element
e2 - the second element
e3 - the third element
e4 - the fourth element
Returns:
a new mutable set of the four specified elements

newMutableSetOf

@Nonnull
HashCharSet newMutableSetOf(char e1,
                                    char e2,
                                    char e3,
                                    char e4,
                                    char e5,
                                    char... restElements)
Description copied from interface: CharSetFactory
Constructs a new mutable set of the specified elements.

Specified by:
newMutableSetOf in interface CharSetFactory<HashCharSetFactory>
Parameters:
e1 - the first element
e2 - the second element
e3 - the third element
e4 - the fourth element
e5 - the fifth element
restElements - the rest elements to be placed into the set
Returns:
a new mutable set of the specified elements

newUpdatableSet

@Nonnull
HashCharSet newUpdatableSet()
Description copied from interface: CharSetFactory
Constructs a new empty updatable set of the default expected size.

Specified by:
newUpdatableSet in interface CharSetFactory<HashCharSetFactory>
Returns:
a new empty updatable set

newUpdatableSet

@Nonnull
HashCharSet newUpdatableSet(int expectedSize)
Description copied from interface: CharSetFactory
Constructs a new empty updatable set of the given expected size.

Specified by:
newUpdatableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
expectedSize - the expected size of the returned set
Returns:
a new empty updatable set of the given expected size

newUpdatableSet

@Nonnull
HashCharSet newUpdatableSet(@Nonnull
                                    Iterable<Character> elements,
                                    int expectedSize)
Description copied from interface: CharSetFactory
Constructs a new updatable set containing the elements in the specified iterable.

If the specified iterable is a Set the expectedSize argument is ignored.

Specified by:
newUpdatableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elements - the iterable whose elements are to be placed into the returned set
expectedSize - the expected size of the returned set
Returns:
a new updatable set of the elements of the specified iterable

newUpdatableSet

@Nonnull
HashCharSet newUpdatableSet(@Nonnull
                                    Iterable<Character> elems1,
                                    @Nonnull
                                    Iterable<Character> elems2,
                                    int expectedSize)
Description copied from interface: CharSetFactory
Constructs a new updatable set which merge the elements of the specified iterables.

Specified by:
newUpdatableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
expectedSize - the expected size of the returned set
Returns:
a new updatable set which merge the elements of the specified iterables

newUpdatableSet

@Nonnull
HashCharSet newUpdatableSet(@Nonnull
                                    Iterable<Character> elems1,
                                    @Nonnull
                                    Iterable<Character> elems2,
                                    @Nonnull
                                    Iterable<Character> elems3,
                                    int expectedSize)
Description copied from interface: CharSetFactory
Constructs a new updatable set which merge the elements of the specified iterables.

Specified by:
newUpdatableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
expectedSize - the expected size of the returned set
Returns:
a new updatable set which merge the elements of the specified iterables

newUpdatableSet

@Nonnull
HashCharSet newUpdatableSet(@Nonnull
                                    Iterable<Character> elems1,
                                    @Nonnull
                                    Iterable<Character> elems2,
                                    @Nonnull
                                    Iterable<Character> elems3,
                                    @Nonnull
                                    Iterable<Character> elems4,
                                    int expectedSize)
Description copied from interface: CharSetFactory
Constructs a new updatable set which merge the elements of the specified iterables.

Specified by:
newUpdatableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
elems4 - the fourth source of elements for the returned set
expectedSize - the expected size of the returned set
Returns:
a new updatable set which merge the elements of the specified iterables

newUpdatableSet

@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)
Description copied from interface: CharSetFactory
Constructs a new updatable set which merge the elements of the specified iterables.

Specified by:
newUpdatableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
elems4 - the fourth source of elements for the returned set
elems5 - the fifth source of elements for the returned set
expectedSize - the expected size of the returned set
Returns:
a new updatable set which merge the elements of the specified iterables

newUpdatableSet

@Nonnull
HashCharSet newUpdatableSet(@Nonnull
                                    Iterator<Character> elements,
                                    int expectedSize)
Description copied from interface: CharSetFactory
Constructs a new updatable set containing the elements traversed by the specified iterator.

Specified by:
newUpdatableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elements - the iterator from which elements are to be placed into the returned set
expectedSize - the expected size of the returned set
Returns:
a new updatable set containing the elements traversed by the specified iterator

newUpdatableSet

@Nonnull
HashCharSet newUpdatableSet(@Nonnull
                                    Consumer<CharConsumer> elementsSupplier,
                                    int expectedSize)
Description copied from interface: CharSetFactory
Constructs a new updatable set of elements consumed by the callback within the given closure.

Example: TODO

Specified by:
newUpdatableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elementsSupplier - the function which supply mappings for the returned set via the callback passed in
expectedSize - the expected size of the returned set
Returns:
a new updatable set of elements consumed by the callback within the given closure

newUpdatableSet

@Nonnull
HashCharSet newUpdatableSet(@Nonnull
                                    char[] elements,
                                    int expectedSize)
Description copied from interface: CharSetFactory
Constructs a new updatable set of elements from the given array.

Specified by:
newUpdatableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elements - the array whose elements are to be placed into the returned set
expectedSize - the expected size of the returned set
Returns:
a new updatable set of elements from the given array

newUpdatableSet

@Nonnull
HashCharSet newUpdatableSet(@Nonnull
                                    Character[] elements,
                                    int expectedSize)
Description copied from interface: CharSetFactory
Constructs a new updatable set of elements from the given array.

Specified by:
newUpdatableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elements - the array whose elements are to be placed into the returned set
expectedSize - the expected size of the returned set
Returns:
a new updatable set of elements from the given array

newUpdatableSet

@Nonnull
HashCharSet newUpdatableSet(@Nonnull
                                    Iterable<Character> elements)
Description copied from interface: CharSetFactory
Constructs a new updatable set containing the elements in the specified iterable.

Specified by:
newUpdatableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elements - the iterable whose elements are to be placed into the returned set
Returns:
a new updatable set of the elements of the specified iterable

newUpdatableSet

@Nonnull
HashCharSet newUpdatableSet(@Nonnull
                                    Iterable<Character> elems1,
                                    @Nonnull
                                    Iterable<Character> elems2)
Description copied from interface: CharSetFactory
Constructs a new updatable set which merge the elements of the specified iterables.

Specified by:
newUpdatableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
Returns:
a new updatable set which merge the elements of the specified iterables

newUpdatableSet

@Nonnull
HashCharSet newUpdatableSet(@Nonnull
                                    Iterable<Character> elems1,
                                    @Nonnull
                                    Iterable<Character> elems2,
                                    @Nonnull
                                    Iterable<Character> elems3)
Description copied from interface: CharSetFactory
Constructs a new updatable set which merge the elements of the specified iterables.

Specified by:
newUpdatableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
Returns:
a new updatable set which merge the elements of the specified iterables

newUpdatableSet

@Nonnull
HashCharSet newUpdatableSet(@Nonnull
                                    Iterable<Character> elems1,
                                    @Nonnull
                                    Iterable<Character> elems2,
                                    @Nonnull
                                    Iterable<Character> elems3,
                                    @Nonnull
                                    Iterable<Character> elems4)
Description copied from interface: CharSetFactory
Constructs a new updatable set which merge the elements of the specified iterables.

Specified by:
newUpdatableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
elems4 - the fourth source of elements for the returned set
Returns:
a new updatable set which merge the elements of the specified iterables

newUpdatableSet

@Nonnull
HashCharSet newUpdatableSet(@Nonnull
                                    Iterable<Character> elems1,
                                    @Nonnull
                                    Iterable<Character> elems2,
                                    @Nonnull
                                    Iterable<Character> elems3,
                                    @Nonnull
                                    Iterable<Character> elems4,
                                    @Nonnull
                                    Iterable<Character> elems5)
Description copied from interface: CharSetFactory
Constructs a new updatable set which merge the elements of the specified iterables.

Specified by:
newUpdatableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
elems4 - the fourth source of elements for the returned set
elems5 - the fifth source of elements for the returned set
Returns:
a new updatable set which merge the elements of the specified iterables

newUpdatableSet

@Nonnull
HashCharSet newUpdatableSet(@Nonnull
                                    Iterator<Character> elements)
Description copied from interface: CharSetFactory
Constructs a new updatable set containing the elements traversed by the specified iterator.

Specified by:
newUpdatableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elements - the iterator from which elements are to be placed into the returned set
Returns:
a new updatable set containing the elements traversed by the specified iterator

newUpdatableSet

@Nonnull
HashCharSet newUpdatableSet(@Nonnull
                                    Consumer<CharConsumer> elementsSupplier)
Description copied from interface: CharSetFactory
Constructs a new updatable set of elements consumed by the callback within the given closure.

Example: TODO

Specified by:
newUpdatableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elementsSupplier - the function which supply mappings for the returned set via the callback passed in
Returns:
a new updatable set of elements consumed by the callback within the given closure

newUpdatableSet

@Nonnull
HashCharSet newUpdatableSet(@Nonnull
                                    char[] elements)
Description copied from interface: CharSetFactory
Constructs a new updatable set of elements from the given array.

Specified by:
newUpdatableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elements - the array whose elements are to be placed into the returned set
Returns:
a new updatable set of elements from the given array

newUpdatableSet

@Nonnull
HashCharSet newUpdatableSet(@Nonnull
                                    Character[] elements)
Description copied from interface: CharSetFactory
Constructs a new updatable set of elements from the given array.

Specified by:
newUpdatableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elements - the array whose elements are to be placed into the returned set
Returns:
a new updatable set of elements from the given array

newUpdatableSetOf

@Nonnull
HashCharSet newUpdatableSetOf(char e1)
Description copied from interface: CharSetFactory
Constructs a new updatable singleton set of the given element.

Specified by:
newUpdatableSetOf in interface CharSetFactory<HashCharSetFactory>
Parameters:
e1 - the sole element
Returns:
a new updatable singleton set of the given element

newUpdatableSetOf

@Nonnull
HashCharSet newUpdatableSetOf(char e1,
                                      char e2)
Description copied from interface: CharSetFactory
Constructs a new updatable set of the two specified elements.

Specified by:
newUpdatableSetOf in interface CharSetFactory<HashCharSetFactory>
Parameters:
e1 - the first element
e2 - the second element
Returns:
a new updatable set of the two specified elements

newUpdatableSetOf

@Nonnull
HashCharSet newUpdatableSetOf(char e1,
                                      char e2,
                                      char e3)
Description copied from interface: CharSetFactory
Constructs a new updatable set of the three specified elements.

Specified by:
newUpdatableSetOf in interface CharSetFactory<HashCharSetFactory>
Parameters:
e1 - the first element
e2 - the second element
e3 - the third element
Returns:
a new updatable set of the three specified elements

newUpdatableSetOf

@Nonnull
HashCharSet newUpdatableSetOf(char e1,
                                      char e2,
                                      char e3,
                                      char e4)
Description copied from interface: CharSetFactory
Constructs a new updatable set of the four specified elements.

Specified by:
newUpdatableSetOf in interface CharSetFactory<HashCharSetFactory>
Parameters:
e1 - the first element
e2 - the second element
e3 - the third element
e4 - the fourth element
Returns:
a new updatable set of the four specified elements

newUpdatableSetOf

@Nonnull
HashCharSet newUpdatableSetOf(char e1,
                                      char e2,
                                      char e3,
                                      char e4,
                                      char e5,
                                      char... restElements)
Description copied from interface: CharSetFactory
Constructs a new updatable set of the specified elements.

Specified by:
newUpdatableSetOf in interface CharSetFactory<HashCharSetFactory>
Parameters:
e1 - the first element
e2 - the second element
e3 - the third element
e4 - the fourth element
e5 - the fifth element
restElements - the rest elements to be placed into the set
Returns:
a new updatable set of the specified elements

newImmutableSet

@Nonnull
HashCharSet newImmutableSet(@Nonnull
                                    Iterable<Character> elements,
                                    int expectedSize)
Description copied from interface: CharSetFactory
Constructs a new immutable set containing the elements in the specified iterable.

If the specified iterable is a Set the expectedSize argument is ignored.

Specified by:
newImmutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elements - the iterable whose elements are to be placed into the returned set
expectedSize - the expected size of the returned set
Returns:
a new immutable set of the elements of the specified iterable

newImmutableSet

@Nonnull
HashCharSet newImmutableSet(@Nonnull
                                    Iterable<Character> elems1,
                                    @Nonnull
                                    Iterable<Character> elems2,
                                    int expectedSize)
Description copied from interface: CharSetFactory
Constructs a new immutable set which merge the elements of the specified iterables.

Specified by:
newImmutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
expectedSize - the expected size of the returned set
Returns:
a new immutable set which merge the elements of the specified iterables

newImmutableSet

@Nonnull
HashCharSet newImmutableSet(@Nonnull
                                    Iterable<Character> elems1,
                                    @Nonnull
                                    Iterable<Character> elems2,
                                    @Nonnull
                                    Iterable<Character> elems3,
                                    int expectedSize)
Description copied from interface: CharSetFactory
Constructs a new immutable set which merge the elements of the specified iterables.

Specified by:
newImmutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
expectedSize - the expected size of the returned set
Returns:
a new immutable set which merge the elements of the specified iterables

newImmutableSet

@Nonnull
HashCharSet newImmutableSet(@Nonnull
                                    Iterable<Character> elems1,
                                    @Nonnull
                                    Iterable<Character> elems2,
                                    @Nonnull
                                    Iterable<Character> elems3,
                                    @Nonnull
                                    Iterable<Character> elems4,
                                    int expectedSize)
Description copied from interface: CharSetFactory
Constructs a new immutable set which merge the elements of the specified iterables.

Specified by:
newImmutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
elems4 - the fourth source of elements for the returned set
expectedSize - the expected size of the returned set
Returns:
a new immutable set which merge the elements of the specified iterables

newImmutableSet

@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)
Description copied from interface: CharSetFactory
Constructs a new immutable set which merge the elements of the specified iterables.

Specified by:
newImmutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
elems4 - the fourth source of elements for the returned set
elems5 - the fifth source of elements for the returned set
expectedSize - the expected size of the returned set
Returns:
a new immutable set which merge the elements of the specified iterables

newImmutableSet

@Nonnull
HashCharSet newImmutableSet(@Nonnull
                                    Iterator<Character> elements,
                                    int expectedSize)
Description copied from interface: CharSetFactory
Constructs a new immutable set containing the elements traversed by the specified iterator.

Specified by:
newImmutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elements - the iterator from which elements are to be placed into the returned set
expectedSize - the expected size of the returned set
Returns:
a new immutable set containing the elements traversed by the specified iterator

newImmutableSet

@Nonnull
HashCharSet newImmutableSet(@Nonnull
                                    Consumer<CharConsumer> elementsSupplier,
                                    int expectedSize)
Description copied from interface: CharSetFactory
Constructs a new immutable set of elements consumed by the callback within the given closure.

Example: TODO

Specified by:
newImmutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elementsSupplier - the function which supply mappings for the returned set via the callback passed in
expectedSize - the expected size of the returned set
Returns:
a new immutable set of elements consumed by the callback within the given closure

newImmutableSet

@Nonnull
HashCharSet newImmutableSet(@Nonnull
                                    char[] elements,
                                    int expectedSize)
Description copied from interface: CharSetFactory
Constructs a new immutable set of elements from the given array.

Specified by:
newImmutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elements - the array whose elements are to be placed into the returned set
expectedSize - the expected size of the returned set
Returns:
a new immutable set of elements from the given array

newImmutableSet

@Nonnull
HashCharSet newImmutableSet(@Nonnull
                                    Character[] elements,
                                    int expectedSize)
Description copied from interface: CharSetFactory
Constructs a new immutable set of elements from the given array.

Specified by:
newImmutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elements - the array whose elements are to be placed into the returned set
expectedSize - the expected size of the returned set
Returns:
a new immutable set of elements from the given array

newImmutableSet

@Nonnull
HashCharSet newImmutableSet(@Nonnull
                                    Iterable<Character> elements)
Description copied from interface: CharSetFactory
Constructs a new immutable set containing the elements in the specified iterable.

Specified by:
newImmutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elements - the iterable whose elements are to be placed into the returned set
Returns:
a new immutable set of the elements of the specified iterable

newImmutableSet

@Nonnull
HashCharSet newImmutableSet(@Nonnull
                                    Iterable<Character> elems1,
                                    @Nonnull
                                    Iterable<Character> elems2)
Description copied from interface: CharSetFactory
Constructs a new immutable set which merge the elements of the specified iterables.

Specified by:
newImmutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
Returns:
a new immutable set which merge the elements of the specified iterables

newImmutableSet

@Nonnull
HashCharSet newImmutableSet(@Nonnull
                                    Iterable<Character> elems1,
                                    @Nonnull
                                    Iterable<Character> elems2,
                                    @Nonnull
                                    Iterable<Character> elems3)
Description copied from interface: CharSetFactory
Constructs a new immutable set which merge the elements of the specified iterables.

Specified by:
newImmutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
Returns:
a new immutable set which merge the elements of the specified iterables

newImmutableSet

@Nonnull
HashCharSet newImmutableSet(@Nonnull
                                    Iterable<Character> elems1,
                                    @Nonnull
                                    Iterable<Character> elems2,
                                    @Nonnull
                                    Iterable<Character> elems3,
                                    @Nonnull
                                    Iterable<Character> elems4)
Description copied from interface: CharSetFactory
Constructs a new immutable set which merge the elements of the specified iterables.

Specified by:
newImmutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
elems4 - the fourth source of elements for the returned set
Returns:
a new immutable set which merge the elements of the specified iterables

newImmutableSet

@Nonnull
HashCharSet newImmutableSet(@Nonnull
                                    Iterable<Character> elems1,
                                    @Nonnull
                                    Iterable<Character> elems2,
                                    @Nonnull
                                    Iterable<Character> elems3,
                                    @Nonnull
                                    Iterable<Character> elems4,
                                    @Nonnull
                                    Iterable<Character> elems5)
Description copied from interface: CharSetFactory
Constructs a new immutable set which merge the elements of the specified iterables.

Specified by:
newImmutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elems1 - the first source of elements for the returned set
elems2 - the second source of elements for the returned set
elems3 - the third source of elements for the returned set
elems4 - the fourth source of elements for the returned set
elems5 - the fifth source of elements for the returned set
Returns:
a new immutable set which merge the elements of the specified iterables

newImmutableSet

@Nonnull
HashCharSet newImmutableSet(@Nonnull
                                    Iterator<Character> elements)
Description copied from interface: CharSetFactory
Constructs a new immutable set containing the elements traversed by the specified iterator.

Specified by:
newImmutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elements - the iterator from which elements are to be placed into the returned set
Returns:
a new immutable set containing the elements traversed by the specified iterator

newImmutableSet

@Nonnull
HashCharSet newImmutableSet(@Nonnull
                                    Consumer<CharConsumer> elementsSupplier)
Description copied from interface: CharSetFactory
Constructs a new immutable set of elements consumed by the callback within the given closure.

Example: TODO

Specified by:
newImmutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elementsSupplier - the function which supply mappings for the returned set via the callback passed in
Returns:
a new immutable set of elements consumed by the callback within the given closure

newImmutableSet

@Nonnull
HashCharSet newImmutableSet(@Nonnull
                                    char[] elements)
Description copied from interface: CharSetFactory
Constructs a new immutable set of elements from the given array.

Specified by:
newImmutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elements - the array whose elements are to be placed into the returned set
Returns:
a new immutable set of elements from the given array

newImmutableSet

@Nonnull
HashCharSet newImmutableSet(@Nonnull
                                    Character[] elements)
Description copied from interface: CharSetFactory
Constructs a new immutable set of elements from the given array.

Specified by:
newImmutableSet in interface CharSetFactory<HashCharSetFactory>
Parameters:
elements - the array whose elements are to be placed into the returned set
Returns:
a new immutable set of elements from the given array

newImmutableSetOf

@Nonnull
HashCharSet newImmutableSetOf(char e1)
Description copied from interface: CharSetFactory
Constructs a new immutable singleton set of the given element.

Specified by:
newImmutableSetOf in interface CharSetFactory<HashCharSetFactory>
Parameters:
e1 - the sole element
Returns:
a new immutable singleton set of the given element

newImmutableSetOf

@Nonnull
HashCharSet newImmutableSetOf(char e1,
                                      char e2)
Description copied from interface: CharSetFactory
Constructs a new immutable set of the two specified elements.

Specified by:
newImmutableSetOf in interface CharSetFactory<HashCharSetFactory>
Parameters:
e1 - the first element
e2 - the second element
Returns:
a new immutable set of the two specified elements

newImmutableSetOf

@Nonnull
HashCharSet newImmutableSetOf(char e1,
                                      char e2,
                                      char e3)
Description copied from interface: CharSetFactory
Constructs a new immutable set of the three specified elements.

Specified by:
newImmutableSetOf in interface CharSetFactory<HashCharSetFactory>
Parameters:
e1 - the first element
e2 - the second element
e3 - the third element
Returns:
a new immutable set of the three specified elements

newImmutableSetOf

@Nonnull
HashCharSet newImmutableSetOf(char e1,
                                      char e2,
                                      char e3,
                                      char e4)
Description copied from interface: CharSetFactory
Constructs a new immutable set of the four specified elements.

Specified by:
newImmutableSetOf in interface CharSetFactory<HashCharSetFactory>
Parameters:
e1 - the first element
e2 - the second element
e3 - the third element
e4 - the fourth element
Returns:
a new immutable set of the four specified elements

newImmutableSetOf

@Nonnull
HashCharSet newImmutableSetOf(char e1,
                                      char e2,
                                      char e3,
                                      char e4,
                                      char e5,
                                      char... restElements)
Description copied from interface: CharSetFactory
Constructs a new immutable set of the specified elements.

Specified by:
newImmutableSetOf in interface CharSetFactory<HashCharSetFactory>
Parameters:
e1 - the first element
e2 - the second element
e3 - the third element
e4 - the fourth element
e5 - the fifth element
restElements - the rest elements to be placed into the set
Returns:
a new immutable set of the specified elements