Serializable
, Comparable<ImmutableCharListFactoryImpl>
, ImmutableCharListFactory
public enum ImmutableCharListFactoryImpl extends Enum<ImmutableCharListFactoryImpl> implements ImmutableCharListFactory
ImmutableCharList
.
This file was automatically generated from template file immutablePrimitiveListFactoryImpl.stg.Enum Constant | Description |
---|---|
INSTANCE |
Modifier and Type | Method | Description |
---|---|---|
ImmutableCharList |
empty() |
|
ImmutableCharList |
of() |
Same as
ImmutableCharListFactory.empty() . |
ImmutableCharList |
of(char one) |
Same as
ImmutableCharListFactory.with(char) . |
ImmutableCharList |
of(char... items) |
|
ImmutableCharList |
ofAll(Iterable<Character> iterable) |
Same as
#withAll(IterableCharacter) . |
ImmutableCharList |
ofAll(CharIterable items) |
|
static ImmutableCharListFactoryImpl |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ImmutableCharListFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
ImmutableCharList |
with() |
Same as
ImmutableCharListFactory.empty() . |
ImmutableCharList |
with(char one) |
|
ImmutableCharList |
with(char... items) |
|
ImmutableCharList |
withAll(Iterable<Character> iterable) |
|
ImmutableCharList |
withAll(CharIterable items) |
public static final ImmutableCharListFactoryImpl INSTANCE
public static ImmutableCharListFactoryImpl[] values()
for (ImmutableCharListFactoryImpl c : ImmutableCharListFactoryImpl.values()) System.out.println(c);
public static ImmutableCharListFactoryImpl 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 ImmutableCharList empty()
empty
in interface ImmutableCharListFactory
public ImmutableCharList of()
ImmutableCharListFactory
ImmutableCharListFactory.empty()
.of
in interface ImmutableCharListFactory
public ImmutableCharList with()
ImmutableCharListFactory
ImmutableCharListFactory.empty()
.with
in interface ImmutableCharListFactory
public ImmutableCharList of(char one)
ImmutableCharListFactory
ImmutableCharListFactory.with(char)
.of
in interface ImmutableCharListFactory
public ImmutableCharList with(char one)
with
in interface ImmutableCharListFactory
public ImmutableCharList of(char... items)
ImmutableCharListFactory
of
in interface ImmutableCharListFactory
public ImmutableCharList with(char... items)
with
in interface ImmutableCharListFactory
public ImmutableCharList ofAll(CharIterable items)
ImmutableCharListFactory
ofAll
in interface ImmutableCharListFactory
public ImmutableCharList withAll(CharIterable items)
withAll
in interface ImmutableCharListFactory
public ImmutableCharList ofAll(Iterable<Character> iterable)
ImmutableCharListFactory
#withAll(IterableCharacter)
.ofAll
in interface ImmutableCharListFactory
public ImmutableCharList withAll(Iterable<Character> iterable)
withAll
in interface ImmutableCharListFactory
Copyright © 2004–2019. All rights reserved.