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