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 ImmutableShortStackFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableShortStackFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableShortStackempty()ImmutableShortStackof()ImmutableShortStackof(short one)ImmutableShortStackof(short... items)ImmutableShortStackofAll(Iterable<Short> iterable)ImmutableShortStackofAll(ShortIterable items)ImmutableShortStackofAllReversed(ShortIterable items)ImmutableShortStackwith()ImmutableShortStackwith(short one)ImmutableShortStackwith(short... items)ImmutableShortStackwithAll(Iterable<Short> iterable)ImmutableShortStackwithAll(ShortIterable items)ImmutableShortStackwithAllReversed(ShortIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableShortStackFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableShortStack empty()
- Specified by:
emptyin interfaceImmutableShortStackFactory
-
of
public ImmutableShortStack of()
- Specified by:
ofin interfaceImmutableShortStackFactory
-
with
public ImmutableShortStack with()
- Specified by:
within interfaceImmutableShortStackFactory
-
of
public ImmutableShortStack of(short one)
- Specified by:
ofin interfaceImmutableShortStackFactory
-
with
public ImmutableShortStack with(short one)
- Specified by:
within interfaceImmutableShortStackFactory
-
of
public ImmutableShortStack of(short... items)
- Specified by:
ofin interfaceImmutableShortStackFactory
-
with
public ImmutableShortStack with(short... items)
- Specified by:
within interfaceImmutableShortStackFactory
-
ofAll
public ImmutableShortStack ofAll(ShortIterable items)
- Specified by:
ofAllin interfaceImmutableShortStackFactory
-
withAll
public ImmutableShortStack withAll(ShortIterable items)
- Specified by:
withAllin interfaceImmutableShortStackFactory
-
ofAll
public ImmutableShortStack ofAll(Iterable<Short> iterable)
- Specified by:
ofAllin interfaceImmutableShortStackFactory- Since:
- 10.0
-
withAll
public ImmutableShortStack withAll(Iterable<Short> iterable)
- Specified by:
withAllin interfaceImmutableShortStackFactory- Since:
- 10.0
-
ofAllReversed
public ImmutableShortStack ofAllReversed(ShortIterable items)
- Specified by:
ofAllReversedin interfaceImmutableShortStackFactory
-
withAllReversed
public ImmutableShortStack withAllReversed(ShortIterable items)
- Specified by:
withAllReversedin interfaceImmutableShortStackFactory
-
-