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