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