Class ImmutableShortSetFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.set.immutable.primitive.ImmutableShortSetFactoryImpl
-
- All Implemented Interfaces:
ImmutableShortSetFactory
public class ImmutableShortSetFactoryImpl extends java.lang.Object implements ImmutableShortSetFactory
ImmutableShortSetFactoryImpl is a factory implementation which creates instances of typeImmutableShortSet
. This file was automatically generated from template file immutablePrimitiveSetFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableShortSetFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableShortSetFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableShortSet
empty()
ImmutableShortSet
of()
Same asImmutableShortSetFactory.empty()
.ImmutableShortSet
of(short one)
Same asImmutableShortSetFactory.with(short)
.ImmutableShortSet
of(short... items)
ImmutableShortSet
ofAll(java.lang.Iterable<java.lang.Short> iterable)
ImmutableShortSet
ofAll(ShortIterable items)
ImmutableShortSet
with()
Same asImmutableShortSetFactory.empty()
.ImmutableShortSet
with(short one)
ImmutableShortSet
with(short... items)
ImmutableShortSet
withAll(java.lang.Iterable<java.lang.Short> iterable)
ImmutableShortSet
withAll(ShortIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableShortSetFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableShortSet empty()
- Specified by:
empty
in interfaceImmutableShortSetFactory
-
of
public ImmutableShortSet of()
Description copied from interface:ImmutableShortSetFactory
Same asImmutableShortSetFactory.empty()
.- Specified by:
of
in interfaceImmutableShortSetFactory
-
with
public ImmutableShortSet with()
Description copied from interface:ImmutableShortSetFactory
Same asImmutableShortSetFactory.empty()
.- Specified by:
with
in interfaceImmutableShortSetFactory
-
of
public ImmutableShortSet of(short one)
Description copied from interface:ImmutableShortSetFactory
Same asImmutableShortSetFactory.with(short)
.- Specified by:
of
in interfaceImmutableShortSetFactory
-
with
public ImmutableShortSet with(short one)
- Specified by:
with
in interfaceImmutableShortSetFactory
-
of
public ImmutableShortSet of(short... items)
Description copied from interface:ImmutableShortSetFactory
- Specified by:
of
in interfaceImmutableShortSetFactory
-
with
public ImmutableShortSet with(short... items)
- Specified by:
with
in interfaceImmutableShortSetFactory
-
ofAll
public ImmutableShortSet ofAll(ShortIterable items)
Description copied from interface:ImmutableShortSetFactory
- Specified by:
ofAll
in interfaceImmutableShortSetFactory
-
withAll
public ImmutableShortSet withAll(ShortIterable items)
- Specified by:
withAll
in interfaceImmutableShortSetFactory
-
ofAll
public ImmutableShortSet ofAll(java.lang.Iterable<java.lang.Short> iterable)
Description copied from interface:ImmutableShortSetFactory
- Specified by:
ofAll
in interfaceImmutableShortSetFactory
- Since:
- 10.0
-
withAll
public ImmutableShortSet withAll(java.lang.Iterable<java.lang.Short> iterable)
- Specified by:
withAll
in interfaceImmutableShortSetFactory
- Since:
- 10.0
-
-