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