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 ImmutableShortListFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableShortListFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableShortListempty()ImmutableShortListof()ImmutableShortListof(short one)ImmutableShortListof(short... items)ImmutableShortListofAll(Iterable<Short> iterable)ImmutableShortListofAll(ShortIterable items)ImmutableShortListwith()ImmutableShortListwith(short one)ImmutableShortListwith(short... items)ImmutableShortListwithAll(Iterable<Short> iterable)ImmutableShortListwithAll(ShortIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableShortListFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableShortList empty()
- Specified by:
emptyin interfaceImmutableShortListFactory
-
of
public ImmutableShortList of()
- Specified by:
ofin interfaceImmutableShortListFactory
-
with
public ImmutableShortList with()
- Specified by:
within interfaceImmutableShortListFactory
-
of
public ImmutableShortList of(short one)
- Specified by:
ofin interfaceImmutableShortListFactory
-
with
public ImmutableShortList with(short one)
- Specified by:
within interfaceImmutableShortListFactory
-
of
public ImmutableShortList of(short... items)
- Specified by:
ofin interfaceImmutableShortListFactory
-
with
public ImmutableShortList with(short... items)
- Specified by:
within interfaceImmutableShortListFactory
-
ofAll
public ImmutableShortList ofAll(ShortIterable items)
- Specified by:
ofAllin interfaceImmutableShortListFactory
-
withAll
public ImmutableShortList withAll(ShortIterable items)
- Specified by:
withAllin interfaceImmutableShortListFactory
-
ofAll
public ImmutableShortList ofAll(Iterable<Short> iterable)
- Specified by:
ofAllin interfaceImmutableShortListFactory- Since:
- 10.0
-
withAll
public ImmutableShortList withAll(Iterable<Short> iterable)
- Specified by:
withAllin interfaceImmutableShortListFactory- Since:
- 10.0
-
-