public enum MutableCharListFactoryImpl extends Enum<MutableCharListFactoryImpl> implements MutableCharListFactory
MutableCharList.
This file was automatically generated from template file mutablePrimitiveListFactoryImpl.stg.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
MutableCharList |
empty() |
MutableCharList |
of() |
MutableCharList |
of(char... items) |
MutableCharList |
ofAll(CharIterable items) |
MutableCharList |
ofAll(Iterable<Character> iterable) |
static MutableCharListFactoryImpl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MutableCharListFactoryImpl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
MutableCharList |
with() |
MutableCharList |
with(char... items)
Creates a new list using the passed
items argument as the backing store. |
MutableCharList |
withAll(CharIterable items) |
MutableCharList |
withAll(Iterable<Character> iterable) |
MutableCharList |
withInitialCapacity(int capacity) |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOfwrapCopypublic static final MutableCharListFactoryImpl INSTANCE
public static MutableCharListFactoryImpl[] values()
for (MutableCharListFactoryImpl c : MutableCharListFactoryImpl.values()) System.out.println(c);
public static MutableCharListFactoryImpl valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic MutableCharList empty()
empty in interface MutableCharListFactorypublic MutableCharList of()
of in interface MutableCharListFactorypublic MutableCharList with()
with in interface MutableCharListFactorypublic MutableCharList withInitialCapacity(int capacity)
withInitialCapacity in interface MutableCharListFactorypublic MutableCharList of(char... items)
of in interface MutableCharListFactorypublic MutableCharList with(char... items)
items argument as the backing store.
!!! WARNING: This method uses the passed in array, so can be very unsafe if the original array is held onto anywhere else. !!!
with in interface MutableCharListFactorypublic MutableCharList ofAll(CharIterable items)
ofAll in interface MutableCharListFactorypublic MutableCharList withAll(CharIterable items)
withAll in interface MutableCharListFactorypublic MutableCharList ofAll(Iterable<Character> iterable)
ofAll in interface MutableCharListFactorypublic MutableCharList withAll(Iterable<Character> iterable)
withAll in interface MutableCharListFactoryCopyright © 2004–2021. All rights reserved.