ImmutableLongBagFactorypublic enum ImmutableLongBagFactoryImpl extends java.lang.Enum<ImmutableLongBagFactoryImpl> implements ImmutableLongBagFactory
ImmutableLongBag.
This file was automatically generated from template file immutablePrimitiveBagFactoryImpl.stg.| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
ImmutableLongBag |
empty() |
|
ImmutableLongBag |
of() |
Same as
ImmutableLongBagFactory.empty(). |
ImmutableLongBag |
of(long one) |
Same as
ImmutableLongBagFactory.with(long). |
ImmutableLongBag |
of(long... items) |
Same as
ImmutableLongBagFactory.with(long[]). |
ImmutableLongBag |
ofAll(java.util.stream.LongStream items) |
|
ImmutableLongBag |
ofAll(LongIterable items) |
|
static ImmutableLongBagFactoryImpl |
valueOf(java.lang.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() |
Same as
ImmutableLongBagFactory.empty(). |
ImmutableLongBag |
with(long one) |
|
ImmutableLongBag |
with(long... items) |
|
ImmutableLongBag |
withAll(java.util.stream.LongStream items) |
|
ImmutableLongBag |
withAll(LongIterable items) |
public static final ImmutableLongBagFactoryImpl INSTANCE
public static ImmutableLongBagFactoryImpl[] values()
for (ImmutableLongBagFactoryImpl c : ImmutableLongBagFactoryImpl.values()) System.out.println(c);
public static ImmutableLongBagFactoryImpl 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 ImmutableLongBag empty()
empty in interface ImmutableLongBagFactorypublic ImmutableLongBag of()
ImmutableLongBagFactoryImmutableLongBagFactory.empty().of in interface ImmutableLongBagFactorypublic ImmutableLongBag with()
ImmutableLongBagFactoryImmutableLongBagFactory.empty().with in interface ImmutableLongBagFactorypublic ImmutableLongBag of(long one)
ImmutableLongBagFactoryImmutableLongBagFactory.with(long).of in interface ImmutableLongBagFactorypublic ImmutableLongBag with(long one)
with in interface ImmutableLongBagFactorypublic ImmutableLongBag of(long... items)
ImmutableLongBagFactoryImmutableLongBagFactory.with(long[]).of in interface ImmutableLongBagFactorypublic ImmutableLongBag with(long... items)
with in interface ImmutableLongBagFactorypublic ImmutableLongBag ofAll(LongIterable items)
ImmutableLongBagFactoryofAll in interface ImmutableLongBagFactorypublic ImmutableLongBag withAll(LongIterable items)
withAll in interface ImmutableLongBagFactorypublic ImmutableLongBag ofAll(java.util.stream.LongStream items)
ofAll in interface ImmutableLongBagFactorypublic ImmutableLongBag withAll(java.util.stream.LongStream items)
withAll in interface ImmutableLongBagFactoryCopyright © 2004–2018. All rights reserved.