Class ImmutableDoubleBagFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.bag.immutable.primitive.ImmutableDoubleBagFactoryImpl
-
- All Implemented Interfaces:
ImmutableDoubleBagFactory
public class ImmutableDoubleBagFactoryImpl extends 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 ImmutableDoubleBagFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableDoubleBagFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableDoubleBagempty()ImmutableDoubleBagof()ImmutableDoubleBagof(double one)ImmutableDoubleBagof(double... items)ImmutableDoubleBagofAll(Iterable<Double> iterable)ImmutableDoubleBagofAll(DoubleStream items)ImmutableDoubleBagofAll(DoubleIterable items)ImmutableDoubleBagwith()ImmutableDoubleBagwith(double one)ImmutableDoubleBagwith(double... items)ImmutableDoubleBagwithAll(Iterable<Double> iterable)ImmutableDoubleBagwithAll(DoubleStream items)ImmutableDoubleBagwithAll(DoubleIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableDoubleBagFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableDoubleBag empty()
- Specified by:
emptyin interfaceImmutableDoubleBagFactory
-
of
public ImmutableDoubleBag of()
- Specified by:
ofin interfaceImmutableDoubleBagFactory
-
with
public ImmutableDoubleBag with()
- Specified by:
within interfaceImmutableDoubleBagFactory
-
of
public ImmutableDoubleBag of(double one)
- Specified by:
ofin interfaceImmutableDoubleBagFactory
-
with
public ImmutableDoubleBag with(double one)
- Specified by:
within interfaceImmutableDoubleBagFactory
-
of
public ImmutableDoubleBag of(double... items)
- Specified by:
ofin interfaceImmutableDoubleBagFactory
-
with
public ImmutableDoubleBag with(double... items)
- Specified by:
within interfaceImmutableDoubleBagFactory
-
ofAll
public ImmutableDoubleBag ofAll(DoubleIterable items)
- Specified by:
ofAllin interfaceImmutableDoubleBagFactory
-
withAll
public ImmutableDoubleBag withAll(DoubleIterable items)
- Specified by:
withAllin interfaceImmutableDoubleBagFactory
-
ofAll
public ImmutableDoubleBag ofAll(Iterable<Double> iterable)
- Specified by:
ofAllin interfaceImmutableDoubleBagFactory- Since:
- 10.0
-
withAll
public ImmutableDoubleBag withAll(Iterable<Double> iterable)
- Specified by:
withAllin interfaceImmutableDoubleBagFactory- Since:
- 10.0
-
ofAll
public ImmutableDoubleBag ofAll(DoubleStream items)
- Specified by:
ofAllin interfaceImmutableDoubleBagFactory- Since:
- 9.0
-
withAll
public ImmutableDoubleBag withAll(DoubleStream items)
- Specified by:
withAllin interfaceImmutableDoubleBagFactory- Since:
- 9.0
-
-