ImmutableIntListFactorypublic enum ImmutableIntListFactoryImpl extends java.lang.Enum<ImmutableIntListFactoryImpl> implements ImmutableIntListFactory
ImmutableIntList.
This file was automatically generated from template file immutablePrimitiveListFactoryImpl.stg.| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
ImmutableIntList |
empty() |
|
ImmutableIntList |
of() |
Same as
ImmutableIntListFactory.empty(). |
ImmutableIntList |
of(int one) |
Same as
ImmutableIntListFactory.with(int). |
ImmutableIntList |
of(int... items) |
Same as
ImmutableIntListFactory.with(int[]). |
ImmutableIntList |
ofAll(java.util.stream.IntStream items) |
|
ImmutableIntList |
ofAll(IntIterable items) |
|
static ImmutableIntListFactoryImpl |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ImmutableIntListFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
ImmutableIntList |
with() |
Same as
ImmutableIntListFactory.empty(). |
ImmutableIntList |
with(int one) |
|
ImmutableIntList |
with(int... items) |
|
ImmutableIntList |
withAll(java.util.stream.IntStream items) |
|
ImmutableIntList |
withAll(IntIterable items) |
public static final ImmutableIntListFactoryImpl INSTANCE
public static ImmutableIntListFactoryImpl[] values()
for (ImmutableIntListFactoryImpl c : ImmutableIntListFactoryImpl.values()) System.out.println(c);
public static ImmutableIntListFactoryImpl valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic ImmutableIntList empty()
empty in interface ImmutableIntListFactorypublic ImmutableIntList of()
ImmutableIntListFactoryImmutableIntListFactory.empty().of in interface ImmutableIntListFactorypublic ImmutableIntList with()
ImmutableIntListFactoryImmutableIntListFactory.empty().with in interface ImmutableIntListFactorypublic ImmutableIntList of(int one)
ImmutableIntListFactoryImmutableIntListFactory.with(int).of in interface ImmutableIntListFactorypublic ImmutableIntList with(int one)
with in interface ImmutableIntListFactorypublic ImmutableIntList of(int... items)
ImmutableIntListFactoryImmutableIntListFactory.with(int[]).of in interface ImmutableIntListFactorypublic ImmutableIntList with(int... items)
with in interface ImmutableIntListFactorypublic ImmutableIntList ofAll(IntIterable items)
ImmutableIntListFactoryofAll in interface ImmutableIntListFactorypublic ImmutableIntList withAll(IntIterable items)
withAll in interface ImmutableIntListFactorypublic ImmutableIntList ofAll(java.util.stream.IntStream items)
ofAll in interface ImmutableIntListFactorypublic ImmutableIntList withAll(java.util.stream.IntStream items)
withAll in interface ImmutableIntListFactoryCopyright © 2004–2018. All rights reserved.