Class ImmutableByteSetFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.set.immutable.primitive.ImmutableByteSetFactoryImpl
-
- All Implemented Interfaces:
ImmutableByteSetFactory
public class ImmutableByteSetFactoryImpl extends java.lang.Object implements ImmutableByteSetFactory
ImmutableByteSetFactoryImpl is a factory implementation which creates instances of typeImmutableByteSet
. This file was automatically generated from template file immutablePrimitiveSetFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableByteSetFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableByteSetFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableByteSet
empty()
ImmutableByteSet
of()
Same asImmutableByteSetFactory.empty()
.ImmutableByteSet
of(byte one)
Same asImmutableByteSetFactory.with(byte)
.ImmutableByteSet
of(byte... items)
Same asImmutableByteSetFactory.with(byte[])
.ImmutableByteSet
ofAll(java.lang.Iterable<java.lang.Byte> iterable)
ImmutableByteSet
ofAll(ByteIterable items)
ImmutableByteSet
with()
Same asImmutableByteSetFactory.empty()
.ImmutableByteSet
with(byte one)
ImmutableByteSet
with(byte... items)
ImmutableByteSet
withAll(java.lang.Iterable<java.lang.Byte> iterable)
ImmutableByteSet
withAll(ByteIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableByteSetFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableByteSet empty()
- Specified by:
empty
in interfaceImmutableByteSetFactory
-
of
public ImmutableByteSet of()
Description copied from interface:ImmutableByteSetFactory
Same asImmutableByteSetFactory.empty()
.- Specified by:
of
in interfaceImmutableByteSetFactory
-
with
public ImmutableByteSet with()
Description copied from interface:ImmutableByteSetFactory
Same asImmutableByteSetFactory.empty()
.- Specified by:
with
in interfaceImmutableByteSetFactory
-
of
public ImmutableByteSet of(byte one)
Description copied from interface:ImmutableByteSetFactory
Same asImmutableByteSetFactory.with(byte)
.- Specified by:
of
in interfaceImmutableByteSetFactory
-
with
public ImmutableByteSet with(byte one)
- Specified by:
with
in interfaceImmutableByteSetFactory
-
of
public ImmutableByteSet of(byte... items)
Description copied from interface:ImmutableByteSetFactory
Same asImmutableByteSetFactory.with(byte[])
.- Specified by:
of
in interfaceImmutableByteSetFactory
-
with
public ImmutableByteSet with(byte... items)
- Specified by:
with
in interfaceImmutableByteSetFactory
-
ofAll
public ImmutableByteSet ofAll(ByteIterable items)
Description copied from interface:ImmutableByteSetFactory
- Specified by:
ofAll
in interfaceImmutableByteSetFactory
-
withAll
public ImmutableByteSet withAll(ByteIterable items)
- Specified by:
withAll
in interfaceImmutableByteSetFactory
-
ofAll
public ImmutableByteSet ofAll(java.lang.Iterable<java.lang.Byte> iterable)
Description copied from interface:ImmutableByteSetFactory
- Specified by:
ofAll
in interfaceImmutableByteSetFactory
- Since:
- 10.0
-
withAll
public ImmutableByteSet withAll(java.lang.Iterable<java.lang.Byte> iterable)
- Specified by:
withAll
in interfaceImmutableByteSetFactory
- Since:
- 10.0
-
-