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 ImmutableByteBagFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableByteBagFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableByteBagempty()ImmutableByteBagof()Same asImmutableByteBagFactory.empty().ImmutableByteBagof(byte one)Same asImmutableByteBagFactory.with(byte).ImmutableByteBagof(byte... items)Same asImmutableByteBagFactory.with(byte[]).ImmutableByteBagofAll(java.lang.Iterable<java.lang.Byte> iterable)ImmutableByteBagofAll(ByteIterable items)ImmutableByteBagwith()Same asImmutableByteBagFactory.empty().ImmutableByteBagwith(byte one)ImmutableByteBagwith(byte... items)ImmutableByteBagwithAll(java.lang.Iterable<java.lang.Byte> iterable)ImmutableByteBagwithAll(ByteIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableByteBagFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableByteBag empty()
- Specified by:
emptyin interfaceImmutableByteBagFactory
-
of
public ImmutableByteBag of()
Description copied from interface:ImmutableByteBagFactorySame asImmutableByteBagFactory.empty().- Specified by:
ofin interfaceImmutableByteBagFactory
-
with
public ImmutableByteBag with()
Description copied from interface:ImmutableByteBagFactorySame asImmutableByteBagFactory.empty().- Specified by:
within interfaceImmutableByteBagFactory
-
of
public ImmutableByteBag of(byte one)
Description copied from interface:ImmutableByteBagFactorySame asImmutableByteBagFactory.with(byte).- Specified by:
ofin interfaceImmutableByteBagFactory
-
with
public ImmutableByteBag with(byte one)
- Specified by:
within interfaceImmutableByteBagFactory
-
of
public ImmutableByteBag of(byte... items)
Description copied from interface:ImmutableByteBagFactorySame asImmutableByteBagFactory.with(byte[]).- Specified by:
ofin interfaceImmutableByteBagFactory
-
with
public ImmutableByteBag with(byte... items)
- Specified by:
within interfaceImmutableByteBagFactory
-
ofAll
public ImmutableByteBag ofAll(ByteIterable items)
Description copied from interface:ImmutableByteBagFactory- Specified by:
ofAllin interfaceImmutableByteBagFactory
-
withAll
public ImmutableByteBag withAll(ByteIterable items)
- Specified by:
withAllin interfaceImmutableByteBagFactory
-
ofAll
public ImmutableByteBag ofAll(java.lang.Iterable<java.lang.Byte> iterable)
Description copied from interface:ImmutableByteBagFactory- Specified by:
ofAllin interfaceImmutableByteBagFactory- Since:
- 10.0
-
withAll
public ImmutableByteBag withAll(java.lang.Iterable<java.lang.Byte> iterable)
- Specified by:
withAllin interfaceImmutableByteBagFactory- Since:
- 10.0
-
-