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