Class ImmutableDoubleStackFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.stack.immutable.primitive.ImmutableDoubleStackFactoryImpl
-
- All Implemented Interfaces:
ImmutableDoubleStackFactory
public class ImmutableDoubleStackFactoryImpl extends 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 ImmutableDoubleStackFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableDoubleStackFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableDoubleStackempty()ImmutableDoubleStackof()ImmutableDoubleStackof(double one)ImmutableDoubleStackof(double... items)ImmutableDoubleStackofAll(Iterable<Double> iterable)ImmutableDoubleStackofAll(DoubleStream items)ImmutableDoubleStackofAll(DoubleIterable items)ImmutableDoubleStackofAllReversed(DoubleIterable items)ImmutableDoubleStackwith()ImmutableDoubleStackwith(double one)ImmutableDoubleStackwith(double... items)ImmutableDoubleStackwithAll(Iterable<Double> iterable)ImmutableDoubleStackwithAll(DoubleStream items)ImmutableDoubleStackwithAll(DoubleIterable items)ImmutableDoubleStackwithAllReversed(DoubleIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableDoubleStackFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableDoubleStack empty()
- Specified by:
emptyin interfaceImmutableDoubleStackFactory
-
of
public ImmutableDoubleStack of()
- Specified by:
ofin interfaceImmutableDoubleStackFactory
-
with
public ImmutableDoubleStack with()
- Specified by:
within interfaceImmutableDoubleStackFactory
-
of
public ImmutableDoubleStack of(double one)
- Specified by:
ofin interfaceImmutableDoubleStackFactory
-
with
public ImmutableDoubleStack with(double one)
- Specified by:
within interfaceImmutableDoubleStackFactory
-
of
public ImmutableDoubleStack of(double... items)
- Specified by:
ofin interfaceImmutableDoubleStackFactory
-
with
public ImmutableDoubleStack with(double... items)
- Specified by:
within interfaceImmutableDoubleStackFactory
-
ofAll
public ImmutableDoubleStack ofAll(DoubleIterable items)
- Specified by:
ofAllin interfaceImmutableDoubleStackFactory
-
withAll
public ImmutableDoubleStack withAll(DoubleIterable items)
- Specified by:
withAllin interfaceImmutableDoubleStackFactory
-
ofAll
public ImmutableDoubleStack ofAll(Iterable<Double> iterable)
- Specified by:
ofAllin interfaceImmutableDoubleStackFactory- Since:
- 10.0
-
withAll
public ImmutableDoubleStack withAll(Iterable<Double> iterable)
- Specified by:
withAllin interfaceImmutableDoubleStackFactory- Since:
- 10.0
-
ofAllReversed
public ImmutableDoubleStack ofAllReversed(DoubleIterable items)
- Specified by:
ofAllReversedin interfaceImmutableDoubleStackFactory
-
withAllReversed
public ImmutableDoubleStack withAllReversed(DoubleIterable items)
- Specified by:
withAllReversedin interfaceImmutableDoubleStackFactory
-
ofAll
public ImmutableDoubleStack ofAll(DoubleStream items)
- Specified by:
ofAllin interfaceImmutableDoubleStackFactory- Since:
- 9.0
-
withAll
public ImmutableDoubleStack withAll(DoubleStream items)
- Specified by:
withAllin interfaceImmutableDoubleStackFactory- Since:
- 9.0
-
-