ImmutableIntBagFactorypublic enum ImmutableIntBagFactoryImpl extends java.lang.Enum<ImmutableIntBagFactoryImpl> implements ImmutableIntBagFactory
ImmutableIntBag.
This file was automatically generated from template file immutablePrimitiveBagFactoryImpl.stg.| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
ImmutableIntBag |
empty() |
|
ImmutableIntBag |
of() |
Same as
ImmutableIntBagFactory.empty(). |
ImmutableIntBag |
of(int one) |
Same as
ImmutableIntBagFactory.with(int). |
ImmutableIntBag |
of(int... items) |
Same as
ImmutableIntBagFactory.with(int[]). |
ImmutableIntBag |
ofAll(java.util.stream.IntStream items) |
|
ImmutableIntBag |
ofAll(IntIterable items) |
|
static ImmutableIntBagFactoryImpl |
valueOf(java.lang.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() |
Same as
ImmutableIntBagFactory.empty(). |
ImmutableIntBag |
with(int one) |
|
ImmutableIntBag |
with(int... items) |
|
ImmutableIntBag |
withAll(java.util.stream.IntStream items) |
|
ImmutableIntBag |
withAll(IntIterable items) |
public static final ImmutableIntBagFactoryImpl INSTANCE
public static ImmutableIntBagFactoryImpl[] values()
for (ImmutableIntBagFactoryImpl c : ImmutableIntBagFactoryImpl.values()) System.out.println(c);
public static ImmutableIntBagFactoryImpl 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 ImmutableIntBag empty()
empty in interface ImmutableIntBagFactorypublic ImmutableIntBag of()
ImmutableIntBagFactoryImmutableIntBagFactory.empty().of in interface ImmutableIntBagFactorypublic ImmutableIntBag with()
ImmutableIntBagFactoryImmutableIntBagFactory.empty().with in interface ImmutableIntBagFactorypublic ImmutableIntBag of(int one)
ImmutableIntBagFactoryImmutableIntBagFactory.with(int).of in interface ImmutableIntBagFactorypublic ImmutableIntBag with(int one)
with in interface ImmutableIntBagFactorypublic ImmutableIntBag of(int... items)
ImmutableIntBagFactoryImmutableIntBagFactory.with(int[]).of in interface ImmutableIntBagFactorypublic ImmutableIntBag with(int... items)
with in interface ImmutableIntBagFactorypublic ImmutableIntBag ofAll(IntIterable items)
ImmutableIntBagFactoryofAll in interface ImmutableIntBagFactorypublic ImmutableIntBag withAll(IntIterable items)
withAll in interface ImmutableIntBagFactorypublic ImmutableIntBag ofAll(java.util.stream.IntStream items)
ofAll in interface ImmutableIntBagFactorypublic ImmutableIntBag withAll(java.util.stream.IntStream items)
withAll in interface ImmutableIntBagFactoryCopyright © 2004–2018. All rights reserved.