Class ImmutableCharStackFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.stack.immutable.primitive.ImmutableCharStackFactoryImpl
-
- All Implemented Interfaces:
ImmutableCharStackFactory
public class ImmutableCharStackFactoryImpl extends java.lang.Object implements ImmutableCharStackFactory
ImmutableCharStackFactoryImpl is a factory implementation which creates instances of typeImmutableCharStack
. This file was automatically generated from template file immutablePrimitiveStackFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableCharStackFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableCharStackFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableCharStack
empty()
ImmutableCharStack
of()
Same asImmutableCharStackFactory.empty()
.ImmutableCharStack
of(char one)
Same asImmutableCharStackFactory.with(char)
.ImmutableCharStack
of(char... items)
ImmutableCharStack
ofAll(java.lang.Iterable<java.lang.Character> iterable)
ImmutableCharStack
ofAll(CharIterable items)
ImmutableCharStack
ofAllReversed(CharIterable items)
ImmutableCharStack
with()
Same asImmutableCharStackFactory.empty()
.ImmutableCharStack
with(char one)
ImmutableCharStack
with(char... items)
ImmutableCharStack
withAll(java.lang.Iterable<java.lang.Character> iterable)
ImmutableCharStack
withAll(CharIterable items)
ImmutableCharStack
withAllReversed(CharIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableCharStackFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableCharStack empty()
- Specified by:
empty
in interfaceImmutableCharStackFactory
-
of
public ImmutableCharStack of()
Description copied from interface:ImmutableCharStackFactory
Same asImmutableCharStackFactory.empty()
.- Specified by:
of
in interfaceImmutableCharStackFactory
-
with
public ImmutableCharStack with()
Description copied from interface:ImmutableCharStackFactory
Same asImmutableCharStackFactory.empty()
.- Specified by:
with
in interfaceImmutableCharStackFactory
-
of
public ImmutableCharStack of(char one)
Description copied from interface:ImmutableCharStackFactory
Same asImmutableCharStackFactory.with(char)
.- Specified by:
of
in interfaceImmutableCharStackFactory
-
with
public ImmutableCharStack with(char one)
- Specified by:
with
in interfaceImmutableCharStackFactory
-
of
public ImmutableCharStack of(char... items)
Description copied from interface:ImmutableCharStackFactory
- Specified by:
of
in interfaceImmutableCharStackFactory
-
with
public ImmutableCharStack with(char... items)
- Specified by:
with
in interfaceImmutableCharStackFactory
-
ofAll
public ImmutableCharStack ofAll(CharIterable items)
Description copied from interface:ImmutableCharStackFactory
- Specified by:
ofAll
in interfaceImmutableCharStackFactory
-
withAll
public ImmutableCharStack withAll(CharIterable items)
- Specified by:
withAll
in interfaceImmutableCharStackFactory
-
ofAll
public ImmutableCharStack ofAll(java.lang.Iterable<java.lang.Character> iterable)
Description copied from interface:ImmutableCharStackFactory
- Specified by:
ofAll
in interfaceImmutableCharStackFactory
- Since:
- 10.0
-
withAll
public ImmutableCharStack withAll(java.lang.Iterable<java.lang.Character> iterable)
- Specified by:
withAll
in interfaceImmutableCharStackFactory
- Since:
- 10.0
-
ofAllReversed
public ImmutableCharStack ofAllReversed(CharIterable items)
Description copied from interface:ImmutableCharStackFactory
- Specified by:
ofAllReversed
in interfaceImmutableCharStackFactory
-
withAllReversed
public ImmutableCharStack withAllReversed(CharIterable items)
- Specified by:
withAllReversed
in interfaceImmutableCharStackFactory
-
-