Class ImmutableShortStackFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.stack.immutable.primitive.ImmutableShortStackFactoryImpl
-
- All Implemented Interfaces:
ImmutableShortStackFactory
public class ImmutableShortStackFactoryImpl extends Object implements ImmutableShortStackFactory
ImmutableShortStackFactoryImpl is a factory implementation which creates instances of typeImmutableShortStack
. This file was automatically generated from template file immutablePrimitiveStackFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableShortStackFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableShortStackFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableShortStack
empty()
ImmutableShortStack
of()
ImmutableShortStack
of(short one)
ImmutableShortStack
of(short... items)
ImmutableShortStack
ofAll(Iterable<Short> iterable)
ImmutableShortStack
ofAll(ShortIterable items)
ImmutableShortStack
ofAllReversed(ShortIterable items)
ImmutableShortStack
with()
ImmutableShortStack
with(short one)
ImmutableShortStack
with(short... items)
ImmutableShortStack
withAll(Iterable<Short> iterable)
ImmutableShortStack
withAll(ShortIterable items)
ImmutableShortStack
withAllReversed(ShortIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableShortStackFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableShortStack empty()
- Specified by:
empty
in interfaceImmutableShortStackFactory
-
of
public ImmutableShortStack of()
- Specified by:
of
in interfaceImmutableShortStackFactory
-
with
public ImmutableShortStack with()
- Specified by:
with
in interfaceImmutableShortStackFactory
-
of
public ImmutableShortStack of(short one)
- Specified by:
of
in interfaceImmutableShortStackFactory
-
with
public ImmutableShortStack with(short one)
- Specified by:
with
in interfaceImmutableShortStackFactory
-
of
public ImmutableShortStack of(short... items)
- Specified by:
of
in interfaceImmutableShortStackFactory
-
with
public ImmutableShortStack with(short... items)
- Specified by:
with
in interfaceImmutableShortStackFactory
-
ofAll
public ImmutableShortStack ofAll(ShortIterable items)
- Specified by:
ofAll
in interfaceImmutableShortStackFactory
-
withAll
public ImmutableShortStack withAll(ShortIterable items)
- Specified by:
withAll
in interfaceImmutableShortStackFactory
-
ofAll
public ImmutableShortStack ofAll(Iterable<Short> iterable)
- Specified by:
ofAll
in interfaceImmutableShortStackFactory
- Since:
- 10.0
-
withAll
public ImmutableShortStack withAll(Iterable<Short> iterable)
- Specified by:
withAll
in interfaceImmutableShortStackFactory
- Since:
- 10.0
-
ofAllReversed
public ImmutableShortStack ofAllReversed(ShortIterable items)
- Specified by:
ofAllReversed
in interfaceImmutableShortStackFactory
-
withAllReversed
public ImmutableShortStack withAllReversed(ShortIterable items)
- Specified by:
withAllReversed
in interfaceImmutableShortStackFactory
-
-