Class ImmutableShortListFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.list.immutable.primitive.ImmutableShortListFactoryImpl
-
- All Implemented Interfaces:
ImmutableShortListFactory
public class ImmutableShortListFactoryImpl extends java.lang.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()
Same asImmutableShortListFactory.empty()
.ImmutableShortList
of(short one)
ImmutableShortList
of(short... items)
ImmutableShortList
ofAll(java.lang.Iterable<java.lang.Short> iterable)
ImmutableShortList
ofAll(ShortIterable items)
ImmutableShortList
with()
Same asImmutableShortListFactory.empty()
.ImmutableShortList
with(short one)
ImmutableShortList
with(short... items)
ImmutableShortList
withAll(java.lang.Iterable<java.lang.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()
Description copied from interface:ImmutableShortListFactory
Same asImmutableShortListFactory.empty()
.- Specified by:
of
in interfaceImmutableShortListFactory
-
with
public ImmutableShortList with()
Description copied from interface:ImmutableShortListFactory
Same asImmutableShortListFactory.empty()
.- Specified by:
with
in interfaceImmutableShortListFactory
-
of
public ImmutableShortList of(short one)
Description copied from interface:ImmutableShortListFactory
- Specified by:
of
in interfaceImmutableShortListFactory
-
with
public ImmutableShortList with(short one)
- Specified by:
with
in interfaceImmutableShortListFactory
-
of
public ImmutableShortList of(short... items)
Description copied from interface:ImmutableShortListFactory
- Specified by:
of
in interfaceImmutableShortListFactory
-
with
public ImmutableShortList with(short... items)
- Specified by:
with
in interfaceImmutableShortListFactory
-
ofAll
public ImmutableShortList ofAll(ShortIterable items)
Description copied from interface:ImmutableShortListFactory
- Specified by:
ofAll
in interfaceImmutableShortListFactory
-
withAll
public ImmutableShortList withAll(ShortIterable items)
- Specified by:
withAll
in interfaceImmutableShortListFactory
-
ofAll
public ImmutableShortList ofAll(java.lang.Iterable<java.lang.Short> iterable)
Description copied from interface:ImmutableShortListFactory
- Specified by:
ofAll
in interfaceImmutableShortListFactory
- Since:
- 10.0
-
withAll
public ImmutableShortList withAll(java.lang.Iterable<java.lang.Short> iterable)
- Specified by:
withAll
in interfaceImmutableShortListFactory
- Since:
- 10.0
-
-