Class MutableShortSetFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.set.mutable.primitive.MutableShortSetFactoryImpl
-
- All Implemented Interfaces:
MutableShortSetFactory
public class MutableShortSetFactoryImpl extends Object implements MutableShortSetFactory
MutableShortSetFactoryImpl is a factory implementation which creates instances of typeMutableShortSet
. This file was automatically generated from template file mutablePrimitiveSetFactoryImpl.stg.- Since:
- 6.0.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableShortSetFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description MutableShortSetFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableShortSet
empty()
MutableShortSet
of()
MutableShortSet
of(short... items)
MutableShortSet
ofAll(Iterable<Short> iterable)
MutableShortSet
ofAll(ShortIterable items)
MutableShortSet
with()
MutableShortSet
with(short... items)
MutableShortSet
withAll(Iterable<Short> iterable)
MutableShortSet
withAll(ShortIterable items)
MutableShortSet
withInitialCapacity(int capacity)
-
-
-
Field Detail
-
INSTANCE
public static final MutableShortSetFactory INSTANCE
-
-
Method Detail
-
empty
public MutableShortSet empty()
- Specified by:
empty
in interfaceMutableShortSetFactory
-
of
public MutableShortSet of()
- Specified by:
of
in interfaceMutableShortSetFactory
-
with
public MutableShortSet with()
- Specified by:
with
in interfaceMutableShortSetFactory
-
withInitialCapacity
public MutableShortSet withInitialCapacity(int capacity)
- Specified by:
withInitialCapacity
in interfaceMutableShortSetFactory
-
of
public MutableShortSet of(short... items)
- Specified by:
of
in interfaceMutableShortSetFactory
-
with
public MutableShortSet with(short... items)
- Specified by:
with
in interfaceMutableShortSetFactory
-
ofAll
public MutableShortSet ofAll(ShortIterable items)
- Specified by:
ofAll
in interfaceMutableShortSetFactory
-
withAll
public MutableShortSet withAll(ShortIterable items)
- Specified by:
withAll
in interfaceMutableShortSetFactory
-
ofAll
public MutableShortSet ofAll(Iterable<Short> iterable)
- Specified by:
ofAll
in interfaceMutableShortSetFactory
- Since:
- 10.0
-
withAll
public MutableShortSet withAll(Iterable<Short> iterable)
- Specified by:
withAll
in interfaceMutableShortSetFactory
- Since:
- 10.0
-
-