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