Top Description Methods
org.eclipse.collections.api.factory.set.primitive

public Interface MutableCharSetFactory

Imports
org.eclipse.collections.api.CharIterable, org.eclipse.collections.api.set.primitive.MutableCharSet

A factory which creates instances of type MutableCharSet. This file was automatically generated from template file mutablePrimitiveSetFactory.stg.
Since
6.0.

Method Summary

Modifier and TypeMethod and Description
public MutableCharSet
public MutableCharSet
of()

Same as empty().

public MutableCharSet
of(char... items)

Same as with(char[]).

public MutableCharSet
public MutableCharSet
public MutableCharSet
with()

Same as empty().

public MutableCharSet
with(char... items)

public MutableCharSet
public MutableCharSet
public default MutableCharSet
withInitialCapacity(int capacity)

Same as empty().

Method Detail

emptyback to summary
public MutableCharSet empty()
ofback to summary
public MutableCharSet of()

Same as empty().

ofback to summary
public MutableCharSet of(char... items)

Same as with(char[]).

ofAllback to summary
public MutableCharSet ofAll(CharIterable items)

Same as withAll(CharIterable).

ofAllback to summary
public MutableCharSet ofAll(Iterable<Character> iterable)

Same as withAll(Iterable).

withback to summary
public MutableCharSet with()

Same as empty().

withback to summary
public MutableCharSet with(char... items)
withAllback to summary
public MutableCharSet withAll(CharIterable items)
withAllback to summary
public MutableCharSet withAll(Iterable<Character> iterable)
withInitialCapacityback to summary
public default MutableCharSet withInitialCapacity(int capacity)

Same as empty(). but takes in an initial capacity

Since
10.3