ImmutableIntListFactory
public 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 ImmutableIntListFactory
public ImmutableIntList of()
ImmutableIntListFactory
ImmutableIntListFactory.empty()
.of
in interface ImmutableIntListFactory
public ImmutableIntList with()
ImmutableIntListFactory
ImmutableIntListFactory.empty()
.with
in interface ImmutableIntListFactory
public ImmutableIntList of(int one)
ImmutableIntListFactory
ImmutableIntListFactory.with(int)
.of
in interface ImmutableIntListFactory
public ImmutableIntList with(int one)
with
in interface ImmutableIntListFactory
public ImmutableIntList of(int... items)
ImmutableIntListFactory
ImmutableIntListFactory.with(int[])
.of
in interface ImmutableIntListFactory
public ImmutableIntList with(int... items)
with
in interface ImmutableIntListFactory
public ImmutableIntList ofAll(IntIterable items)
ImmutableIntListFactory
ofAll
in interface ImmutableIntListFactory
public ImmutableIntList withAll(IntIterable items)
withAll
in interface ImmutableIntListFactory
public ImmutableIntList ofAll(java.util.stream.IntStream items)
ofAll
in interface ImmutableIntListFactory
public ImmutableIntList withAll(java.util.stream.IntStream items)
withAll
in interface ImmutableIntListFactory
Copyright © 2004–2017. All rights reserved.