Class MutableDoubleBagFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.bag.mutable.primitive.MutableDoubleBagFactoryImpl
-
- All Implemented Interfaces:
MutableDoubleBagFactory
public class MutableDoubleBagFactoryImpl extends java.lang.Object implements MutableDoubleBagFactory
MutableDoubleBagFactoryImpl is a factory implementation which creates instances of typeMutableDoubleBag
. This file was automatically generated from template file mutablePrimitiveBagFactoryImpl.stg.- Since:
- 6.0.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableDoubleBagFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description MutableDoubleBagFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableDoubleBag
empty()
MutableDoubleBag
of()
Same asMutableDoubleBagFactory.empty()
.MutableDoubleBag
of(double... items)
MutableDoubleBag
ofAll(java.lang.Iterable<java.lang.Double> iterable)
MutableDoubleBag
ofAll(java.util.stream.DoubleStream items)
MutableDoubleBag
ofAll(DoubleIterable items)
MutableDoubleBag
with()
Same asMutableDoubleBagFactory.empty()
.MutableDoubleBag
with(double... items)
MutableDoubleBag
withAll(java.lang.Iterable<java.lang.Double> iterable)
MutableDoubleBag
withAll(java.util.stream.DoubleStream items)
MutableDoubleBag
withAll(DoubleIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final MutableDoubleBagFactory INSTANCE
-
-
Method Detail
-
empty
public MutableDoubleBag empty()
- Specified by:
empty
in interfaceMutableDoubleBagFactory
-
of
public MutableDoubleBag of()
Description copied from interface:MutableDoubleBagFactory
Same asMutableDoubleBagFactory.empty()
.- Specified by:
of
in interfaceMutableDoubleBagFactory
-
with
public MutableDoubleBag with()
Description copied from interface:MutableDoubleBagFactory
Same asMutableDoubleBagFactory.empty()
.- Specified by:
with
in interfaceMutableDoubleBagFactory
-
of
public MutableDoubleBag of(double... items)
Description copied from interface:MutableDoubleBagFactory
- Specified by:
of
in interfaceMutableDoubleBagFactory
-
with
public MutableDoubleBag with(double... items)
- Specified by:
with
in interfaceMutableDoubleBagFactory
-
ofAll
public MutableDoubleBag ofAll(DoubleIterable items)
Description copied from interface:MutableDoubleBagFactory
- Specified by:
ofAll
in interfaceMutableDoubleBagFactory
-
withAll
public MutableDoubleBag withAll(DoubleIterable items)
- Specified by:
withAll
in interfaceMutableDoubleBagFactory
-
ofAll
public MutableDoubleBag ofAll(java.lang.Iterable<java.lang.Double> iterable)
Description copied from interface:MutableDoubleBagFactory
- Specified by:
ofAll
in interfaceMutableDoubleBagFactory
- Since:
- 10.0
-
withAll
public MutableDoubleBag withAll(java.lang.Iterable<java.lang.Double> iterable)
- Specified by:
withAll
in interfaceMutableDoubleBagFactory
- Since:
- 10.0
-
ofAll
public MutableDoubleBag ofAll(java.util.stream.DoubleStream items)
- Specified by:
ofAll
in interfaceMutableDoubleBagFactory
- Since:
- 9.0
-
withAll
public MutableDoubleBag withAll(java.util.stream.DoubleStream items)
- Specified by:
withAll
in interfaceMutableDoubleBagFactory
- Since:
- 9.0
-
-