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