Serializable
, Comparable<ImmutableIntListFactoryImpl>
, ImmutableIntListFactory
public enum ImmutableIntListFactoryImpl extends Enum<ImmutableIntListFactoryImpl> implements ImmutableIntListFactory
ImmutableIntList
.
This file was automatically generated from template file immutablePrimitiveListFactoryImpl.stg.Enum Constant | Description |
---|---|
INSTANCE |
public static final ImmutableIntListFactoryImpl INSTANCE
public static ImmutableIntListFactoryImpl[] values()
for (ImmutableIntListFactoryImpl c : ImmutableIntListFactoryImpl.values()) System.out.println(c);
public static ImmutableIntListFactoryImpl 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 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(Iterable<Integer> iterable)
ImmutableIntListFactory
#withAll(IterableInteger)
.ofAll
in interface ImmutableIntListFactory
public ImmutableIntList withAll(Iterable<Integer> iterable)
withAll
in interface ImmutableIntListFactory
public ImmutableIntList ofAll(IntStream items)
ofAll
in interface ImmutableIntListFactory
public ImmutableIntList withAll(IntStream items)
withAll
in interface ImmutableIntListFactory
Copyright © 2004–2019. All rights reserved.