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 ImmutableShortSetFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableShortSetFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableShortSetempty()ImmutableShortSetof()Same asImmutableShortSetFactory.empty().ImmutableShortSetof(short one)Same asImmutableShortSetFactory.with(short).ImmutableShortSetof(short... items)ImmutableShortSetofAll(java.lang.Iterable<java.lang.Short> iterable)ImmutableShortSetofAll(ShortIterable items)ImmutableShortSetwith()Same asImmutableShortSetFactory.empty().ImmutableShortSetwith(short one)ImmutableShortSetwith(short... items)ImmutableShortSetwithAll(java.lang.Iterable<java.lang.Short> iterable)ImmutableShortSetwithAll(ShortIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableShortSetFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableShortSet empty()
- Specified by:
emptyin interfaceImmutableShortSetFactory
-
of
public ImmutableShortSet of()
Description copied from interface:ImmutableShortSetFactorySame asImmutableShortSetFactory.empty().- Specified by:
ofin interfaceImmutableShortSetFactory
-
with
public ImmutableShortSet with()
Description copied from interface:ImmutableShortSetFactorySame asImmutableShortSetFactory.empty().- Specified by:
within interfaceImmutableShortSetFactory
-
of
public ImmutableShortSet of(short one)
Description copied from interface:ImmutableShortSetFactorySame asImmutableShortSetFactory.with(short).- Specified by:
ofin interfaceImmutableShortSetFactory
-
with
public ImmutableShortSet with(short one)
- Specified by:
within interfaceImmutableShortSetFactory
-
of
public ImmutableShortSet of(short... items)
Description copied from interface:ImmutableShortSetFactory- Specified by:
ofin interfaceImmutableShortSetFactory
-
with
public ImmutableShortSet with(short... items)
- Specified by:
within interfaceImmutableShortSetFactory
-
ofAll
public ImmutableShortSet ofAll(ShortIterable items)
Description copied from interface:ImmutableShortSetFactory- Specified by:
ofAllin interfaceImmutableShortSetFactory
-
withAll
public ImmutableShortSet withAll(ShortIterable items)
- Specified by:
withAllin interfaceImmutableShortSetFactory
-
ofAll
public ImmutableShortSet ofAll(java.lang.Iterable<java.lang.Short> iterable)
Description copied from interface:ImmutableShortSetFactory- Specified by:
ofAllin interfaceImmutableShortSetFactory- Since:
- 10.0
-
withAll
public ImmutableShortSet withAll(java.lang.Iterable<java.lang.Short> iterable)
- Specified by:
withAllin interfaceImmutableShortSetFactory- Since:
- 10.0
-
-