Class MutableShortSetFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.set.mutable.primitive.MutableShortSetFactoryImpl
-
- All Implemented Interfaces:
MutableShortSetFactory
public class MutableShortSetFactoryImpl extends java.lang.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()
Same asMutableShortSetFactory.empty()
.MutableShortSet
of(short... items)
Same asMutableShortSetFactory.with(short[])
.MutableShortSet
ofAll(java.lang.Iterable<java.lang.Short> iterable)
MutableShortSet
ofAll(ShortIterable items)
MutableShortSet
with()
Same asMutableShortSetFactory.empty()
.MutableShortSet
with(short... items)
MutableShortSet
withAll(java.lang.Iterable<java.lang.Short> iterable)
MutableShortSet
withAll(ShortIterable items)
MutableShortSet
withInitialCapacity(int capacity)
Same asMutableShortSetFactory.empty()
.
-
-
-
Field Detail
-
INSTANCE
public static final MutableShortSetFactory INSTANCE
-
-
Method Detail
-
empty
public MutableShortSet empty()
- Specified by:
empty
in interfaceMutableShortSetFactory
-
of
public MutableShortSet of()
Description copied from interface:MutableShortSetFactory
Same asMutableShortSetFactory.empty()
.- Specified by:
of
in interfaceMutableShortSetFactory
-
with
public MutableShortSet with()
Description copied from interface:MutableShortSetFactory
Same asMutableShortSetFactory.empty()
.- Specified by:
with
in interfaceMutableShortSetFactory
-
withInitialCapacity
public MutableShortSet withInitialCapacity(int capacity)
Description copied from interface:MutableShortSetFactory
Same asMutableShortSetFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableShortSetFactory
-
of
public MutableShortSet of(short... items)
Description copied from interface:MutableShortSetFactory
Same asMutableShortSetFactory.with(short[])
.- Specified by:
of
in interfaceMutableShortSetFactory
-
with
public MutableShortSet with(short... items)
- Specified by:
with
in interfaceMutableShortSetFactory
-
ofAll
public MutableShortSet ofAll(ShortIterable items)
Description copied from interface:MutableShortSetFactory
- Specified by:
ofAll
in interfaceMutableShortSetFactory
-
withAll
public MutableShortSet withAll(ShortIterable items)
- Specified by:
withAll
in interfaceMutableShortSetFactory
-
ofAll
public MutableShortSet ofAll(java.lang.Iterable<java.lang.Short> iterable)
Description copied from interface:MutableShortSetFactory
- Specified by:
ofAll
in interfaceMutableShortSetFactory
- Since:
- 10.0
-
withAll
public MutableShortSet withAll(java.lang.Iterable<java.lang.Short> iterable)
- Specified by:
withAll
in interfaceMutableShortSetFactory
- Since:
- 10.0
-
-