public enum ImmutableIntBagFactoryImpl extends Enum<ImmutableIntBagFactoryImpl> implements ImmutableIntBagFactory
ImmutableIntBag.
This file was automatically generated from template file immutablePrimitiveBagFactoryImpl.stg.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
ImmutableIntBag |
empty() |
ImmutableIntBag |
of() |
ImmutableIntBag |
of(int... items) |
ImmutableIntBag |
of(int one) |
ImmutableIntBag |
ofAll(IntIterable items) |
ImmutableIntBag |
ofAll(IntStream items) |
ImmutableIntBag |
ofAll(Iterable<Integer> iterable) |
static ImmutableIntBagFactoryImpl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImmutableIntBagFactoryImpl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
ImmutableIntBag |
with() |
ImmutableIntBag |
with(int... items) |
ImmutableIntBag |
with(int one) |
ImmutableIntBag |
withAll(IntIterable items) |
ImmutableIntBag |
withAll(IntStream items) |
ImmutableIntBag |
withAll(Iterable<Integer> iterable) |
public static final ImmutableIntBagFactoryImpl INSTANCE
public static ImmutableIntBagFactoryImpl[] values()
for (ImmutableIntBagFactoryImpl c : ImmutableIntBagFactoryImpl.values()) System.out.println(c);
public static ImmutableIntBagFactoryImpl 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 ImmutableIntBag empty()
empty in interface ImmutableIntBagFactorypublic ImmutableIntBag of()
of in interface ImmutableIntBagFactorypublic ImmutableIntBag with()
with in interface ImmutableIntBagFactorypublic ImmutableIntBag of(int one)
of in interface ImmutableIntBagFactorypublic ImmutableIntBag with(int one)
with in interface ImmutableIntBagFactorypublic ImmutableIntBag of(int... items)
of in interface ImmutableIntBagFactorypublic ImmutableIntBag with(int... items)
with in interface ImmutableIntBagFactorypublic ImmutableIntBag ofAll(IntIterable items)
ofAll in interface ImmutableIntBagFactorypublic ImmutableIntBag withAll(IntIterable items)
withAll in interface ImmutableIntBagFactorypublic ImmutableIntBag ofAll(Iterable<Integer> iterable)
ofAll in interface ImmutableIntBagFactorypublic ImmutableIntBag withAll(Iterable<Integer> iterable)
withAll in interface ImmutableIntBagFactorypublic ImmutableIntBag ofAll(IntStream items)
ofAll in interface ImmutableIntBagFactorypublic ImmutableIntBag withAll(IntStream items)
withAll in interface ImmutableIntBagFactoryCopyright © 2004–2020. All rights reserved.