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