Class ImmutableByteStackFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.stack.immutable.primitive.ImmutableByteStackFactoryImpl
-
- All Implemented Interfaces:
ImmutableByteStackFactory
public class ImmutableByteStackFactoryImpl extends Object implements ImmutableByteStackFactory
ImmutableByteStackFactoryImpl is a factory implementation which creates instances of typeImmutableByteStack
. This file was automatically generated from template file immutablePrimitiveStackFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableByteStackFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableByteStackFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableByteStack
empty()
ImmutableByteStack
of()
ImmutableByteStack
of(byte one)
ImmutableByteStack
of(byte... items)
ImmutableByteStack
ofAll(Iterable<Byte> iterable)
ImmutableByteStack
ofAll(ByteIterable items)
ImmutableByteStack
ofAllReversed(ByteIterable items)
ImmutableByteStack
with()
ImmutableByteStack
with(byte one)
ImmutableByteStack
with(byte... items)
ImmutableByteStack
withAll(Iterable<Byte> iterable)
ImmutableByteStack
withAll(ByteIterable items)
ImmutableByteStack
withAllReversed(ByteIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableByteStackFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableByteStack empty()
- Specified by:
empty
in interfaceImmutableByteStackFactory
-
of
public ImmutableByteStack of()
- Specified by:
of
in interfaceImmutableByteStackFactory
-
with
public ImmutableByteStack with()
- Specified by:
with
in interfaceImmutableByteStackFactory
-
of
public ImmutableByteStack of(byte one)
- Specified by:
of
in interfaceImmutableByteStackFactory
-
with
public ImmutableByteStack with(byte one)
- Specified by:
with
in interfaceImmutableByteStackFactory
-
of
public ImmutableByteStack of(byte... items)
- Specified by:
of
in interfaceImmutableByteStackFactory
-
with
public ImmutableByteStack with(byte... items)
- Specified by:
with
in interfaceImmutableByteStackFactory
-
ofAll
public ImmutableByteStack ofAll(ByteIterable items)
- Specified by:
ofAll
in interfaceImmutableByteStackFactory
-
withAll
public ImmutableByteStack withAll(ByteIterable items)
- Specified by:
withAll
in interfaceImmutableByteStackFactory
-
ofAll
public ImmutableByteStack ofAll(Iterable<Byte> iterable)
- Specified by:
ofAll
in interfaceImmutableByteStackFactory
- Since:
- 10.0
-
withAll
public ImmutableByteStack withAll(Iterable<Byte> iterable)
- Specified by:
withAll
in interfaceImmutableByteStackFactory
- Since:
- 10.0
-
ofAllReversed
public ImmutableByteStack ofAllReversed(ByteIterable items)
- Specified by:
ofAllReversed
in interfaceImmutableByteStackFactory
-
withAllReversed
public ImmutableByteStack withAllReversed(ByteIterable items)
- Specified by:
withAllReversed
in interfaceImmutableByteStackFactory
-
-