Class ImmutableShortBagFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.bag.immutable.primitive.ImmutableShortBagFactoryImpl
-
- All Implemented Interfaces:
ImmutableShortBagFactory
public class ImmutableShortBagFactoryImpl extends Object implements ImmutableShortBagFactory
ImmutableShortBagFactoryImpl is a factory implementation which creates instances of typeImmutableShortBag. This file was automatically generated from template file immutablePrimitiveBagFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableShortBagFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableShortBagFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableShortBagempty()ImmutableShortBagof()ImmutableShortBagof(short one)ImmutableShortBagof(short... items)ImmutableShortBagofAll(Iterable<Short> iterable)ImmutableShortBagofAll(ShortIterable items)ImmutableShortBagwith()ImmutableShortBagwith(short one)ImmutableShortBagwith(short... items)ImmutableShortBagwithAll(Iterable<Short> iterable)ImmutableShortBagwithAll(ShortIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableShortBagFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableShortBag empty()
- Specified by:
emptyin interfaceImmutableShortBagFactory
-
of
public ImmutableShortBag of()
- Specified by:
ofin interfaceImmutableShortBagFactory
-
with
public ImmutableShortBag with()
- Specified by:
within interfaceImmutableShortBagFactory
-
of
public ImmutableShortBag of(short one)
- Specified by:
ofin interfaceImmutableShortBagFactory
-
with
public ImmutableShortBag with(short one)
- Specified by:
within interfaceImmutableShortBagFactory
-
of
public ImmutableShortBag of(short... items)
- Specified by:
ofin interfaceImmutableShortBagFactory
-
with
public ImmutableShortBag with(short... items)
- Specified by:
within interfaceImmutableShortBagFactory
-
ofAll
public ImmutableShortBag ofAll(ShortIterable items)
- Specified by:
ofAllin interfaceImmutableShortBagFactory
-
withAll
public ImmutableShortBag withAll(ShortIterable items)
- Specified by:
withAllin interfaceImmutableShortBagFactory
-
ofAll
public ImmutableShortBag ofAll(Iterable<Short> iterable)
- Specified by:
ofAllin interfaceImmutableShortBagFactory- Since:
- 10.0
-
withAll
public ImmutableShortBag withAll(Iterable<Short> iterable)
- Specified by:
withAllin interfaceImmutableShortBagFactory- Since:
- 10.0
-
-