Class ImmutableShortBagFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.bag.immutable.primitive.ImmutableShortBagFactoryImpl
-
- All Implemented Interfaces:
ImmutableShortBagFactory
public class ImmutableShortBagFactoryImpl extends java.lang.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 ImmutableShortBagFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableShortBagFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableShortBag
empty()
ImmutableShortBag
of()
Same asImmutableShortBagFactory.empty()
.ImmutableShortBag
of(short one)
Same asImmutableShortBagFactory.with(short)
.ImmutableShortBag
of(short... items)
ImmutableShortBag
ofAll(java.lang.Iterable<java.lang.Short> iterable)
ImmutableShortBag
ofAll(ShortIterable items)
ImmutableShortBag
with()
Same asImmutableShortBagFactory.empty()
.ImmutableShortBag
with(short one)
ImmutableShortBag
with(short... items)
ImmutableShortBag
withAll(java.lang.Iterable<java.lang.Short> iterable)
ImmutableShortBag
withAll(ShortIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableShortBagFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableShortBag empty()
- Specified by:
empty
in interfaceImmutableShortBagFactory
-
of
public ImmutableShortBag of()
Description copied from interface:ImmutableShortBagFactory
Same asImmutableShortBagFactory.empty()
.- Specified by:
of
in interfaceImmutableShortBagFactory
-
with
public ImmutableShortBag with()
Description copied from interface:ImmutableShortBagFactory
Same asImmutableShortBagFactory.empty()
.- Specified by:
with
in interfaceImmutableShortBagFactory
-
of
public ImmutableShortBag of(short one)
Description copied from interface:ImmutableShortBagFactory
Same asImmutableShortBagFactory.with(short)
.- Specified by:
of
in interfaceImmutableShortBagFactory
-
with
public ImmutableShortBag with(short one)
- Specified by:
with
in interfaceImmutableShortBagFactory
-
of
public ImmutableShortBag of(short... items)
Description copied from interface:ImmutableShortBagFactory
- Specified by:
of
in interfaceImmutableShortBagFactory
-
with
public ImmutableShortBag with(short... items)
- Specified by:
with
in interfaceImmutableShortBagFactory
-
ofAll
public ImmutableShortBag ofAll(ShortIterable items)
Description copied from interface:ImmutableShortBagFactory
- Specified by:
ofAll
in interfaceImmutableShortBagFactory
-
withAll
public ImmutableShortBag withAll(ShortIterable items)
- Specified by:
withAll
in interfaceImmutableShortBagFactory
-
ofAll
public ImmutableShortBag ofAll(java.lang.Iterable<java.lang.Short> iterable)
Description copied from interface:ImmutableShortBagFactory
- Specified by:
ofAll
in interfaceImmutableShortBagFactory
- Since:
- 10.0
-
withAll
public ImmutableShortBag withAll(java.lang.Iterable<java.lang.Short> iterable)
- Specified by:
withAll
in interfaceImmutableShortBagFactory
- Since:
- 10.0
-
-