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 ImmutableDoubleBagFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableDoubleBagFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableDoubleBagempty()ImmutableDoubleBagof()Same asImmutableDoubleBagFactory.empty().ImmutableDoubleBagof(double one)ImmutableDoubleBagof(double... items)ImmutableDoubleBagofAll(java.lang.Iterable<java.lang.Double> iterable)ImmutableDoubleBagofAll(java.util.stream.DoubleStream items)ImmutableDoubleBagofAll(DoubleIterable items)ImmutableDoubleBagwith()Same asImmutableDoubleBagFactory.empty().ImmutableDoubleBagwith(double one)ImmutableDoubleBagwith(double... items)ImmutableDoubleBagwithAll(java.lang.Iterable<java.lang.Double> iterable)ImmutableDoubleBagwithAll(java.util.stream.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()
Description copied from interface:ImmutableDoubleBagFactorySame asImmutableDoubleBagFactory.empty().- Specified by:
ofin interfaceImmutableDoubleBagFactory
-
with
public ImmutableDoubleBag with()
Description copied from interface:ImmutableDoubleBagFactorySame asImmutableDoubleBagFactory.empty().- Specified by:
within interfaceImmutableDoubleBagFactory
-
of
public ImmutableDoubleBag of(double one)
Description copied from interface:ImmutableDoubleBagFactory- Specified by:
ofin interfaceImmutableDoubleBagFactory
-
with
public ImmutableDoubleBag with(double one)
- Specified by:
within interfaceImmutableDoubleBagFactory
-
of
public ImmutableDoubleBag of(double... items)
Description copied from interface:ImmutableDoubleBagFactory- Specified by:
ofin interfaceImmutableDoubleBagFactory
-
with
public ImmutableDoubleBag with(double... items)
- Specified by:
within interfaceImmutableDoubleBagFactory
-
ofAll
public ImmutableDoubleBag ofAll(DoubleIterable items)
Description copied from interface:ImmutableDoubleBagFactory- Specified by:
ofAllin interfaceImmutableDoubleBagFactory
-
withAll
public ImmutableDoubleBag withAll(DoubleIterable items)
- Specified by:
withAllin interfaceImmutableDoubleBagFactory
-
ofAll
public ImmutableDoubleBag ofAll(java.lang.Iterable<java.lang.Double> iterable)
Description copied from interface:ImmutableDoubleBagFactory- Specified by:
ofAllin interfaceImmutableDoubleBagFactory- Since:
- 10.0
-
withAll
public ImmutableDoubleBag withAll(java.lang.Iterable<java.lang.Double> iterable)
- Specified by:
withAllin interfaceImmutableDoubleBagFactory- Since:
- 10.0
-
ofAll
public ImmutableDoubleBag ofAll(java.util.stream.DoubleStream items)
- Specified by:
ofAllin interfaceImmutableDoubleBagFactory- Since:
- 9.0
-
withAll
public ImmutableDoubleBag withAll(java.util.stream.DoubleStream items)
- Specified by:
withAllin interfaceImmutableDoubleBagFactory- Since:
- 9.0
-
-