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