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 ImmutableDoubleStackFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableDoubleStackFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableDoubleStackempty()ImmutableDoubleStackof()Same asImmutableDoubleStackFactory.empty().ImmutableDoubleStackof(double one)ImmutableDoubleStackof(double... items)ImmutableDoubleStackofAll(java.lang.Iterable<java.lang.Double> iterable)ImmutableDoubleStackofAll(java.util.stream.DoubleStream items)ImmutableDoubleStackofAll(DoubleIterable items)ImmutableDoubleStackofAllReversed(DoubleIterable items)ImmutableDoubleStackwith()Same asImmutableDoubleStackFactory.empty().ImmutableDoubleStackwith(double one)ImmutableDoubleStackwith(double... items)ImmutableDoubleStackwithAll(java.lang.Iterable<java.lang.Double> iterable)ImmutableDoubleStackwithAll(java.util.stream.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()
Description copied from interface:ImmutableDoubleStackFactorySame asImmutableDoubleStackFactory.empty().- Specified by:
ofin interfaceImmutableDoubleStackFactory
-
with
public ImmutableDoubleStack with()
Description copied from interface:ImmutableDoubleStackFactorySame asImmutableDoubleStackFactory.empty().- Specified by:
within interfaceImmutableDoubleStackFactory
-
of
public ImmutableDoubleStack of(double one)
Description copied from interface:ImmutableDoubleStackFactory- Specified by:
ofin interfaceImmutableDoubleStackFactory
-
with
public ImmutableDoubleStack with(double one)
- Specified by:
within interfaceImmutableDoubleStackFactory
-
of
public ImmutableDoubleStack of(double... items)
Description copied from interface:ImmutableDoubleStackFactory- Specified by:
ofin interfaceImmutableDoubleStackFactory
-
with
public ImmutableDoubleStack with(double... items)
- Specified by:
within interfaceImmutableDoubleStackFactory
-
ofAll
public ImmutableDoubleStack ofAll(DoubleIterable items)
Description copied from interface:ImmutableDoubleStackFactory- Specified by:
ofAllin interfaceImmutableDoubleStackFactory
-
withAll
public ImmutableDoubleStack withAll(DoubleIterable items)
- Specified by:
withAllin interfaceImmutableDoubleStackFactory
-
ofAll
public ImmutableDoubleStack ofAll(java.lang.Iterable<java.lang.Double> iterable)
Description copied from interface:ImmutableDoubleStackFactory- Specified by:
ofAllin interfaceImmutableDoubleStackFactory- Since:
- 10.0
-
withAll
public ImmutableDoubleStack withAll(java.lang.Iterable<java.lang.Double> iterable)
- Specified by:
withAllin interfaceImmutableDoubleStackFactory- Since:
- 10.0
-
ofAllReversed
public ImmutableDoubleStack ofAllReversed(DoubleIterable items)
Description copied from interface:ImmutableDoubleStackFactory- Specified by:
ofAllReversedin interfaceImmutableDoubleStackFactory
-
withAllReversed
public ImmutableDoubleStack withAllReversed(DoubleIterable items)
- Specified by:
withAllReversedin interfaceImmutableDoubleStackFactory
-
ofAll
public ImmutableDoubleStack ofAll(java.util.stream.DoubleStream items)
- Specified by:
ofAllin interfaceImmutableDoubleStackFactory- Since:
- 9.0
-
withAll
public ImmutableDoubleStack withAll(java.util.stream.DoubleStream items)
- Specified by:
withAllin interfaceImmutableDoubleStackFactory- Since:
- 9.0
-
-