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