Class ImmutableIntStackFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.stack.immutable.primitive.ImmutableIntStackFactoryImpl
-
- All Implemented Interfaces:
ImmutableIntStackFactory
public class ImmutableIntStackFactoryImpl extends java.lang.Object implements ImmutableIntStackFactory
ImmutableIntStackFactoryImpl is a factory implementation which creates instances of typeImmutableIntStack
. This file was automatically generated from template file immutablePrimitiveStackFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableIntStackFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableIntStackFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableIntStack
empty()
ImmutableIntStack
of()
Same asImmutableIntStackFactory.empty()
.ImmutableIntStack
of(int one)
Same asImmutableIntStackFactory.with(int)
.ImmutableIntStack
of(int... items)
Same asImmutableIntStackFactory.with(int[])
.ImmutableIntStack
ofAll(java.lang.Iterable<java.lang.Integer> iterable)
ImmutableIntStack
ofAll(java.util.stream.IntStream items)
ImmutableIntStack
ofAll(IntIterable items)
ImmutableIntStack
ofAllReversed(IntIterable items)
ImmutableIntStack
with()
Same asImmutableIntStackFactory.empty()
.ImmutableIntStack
with(int one)
ImmutableIntStack
with(int... items)
ImmutableIntStack
withAll(java.lang.Iterable<java.lang.Integer> iterable)
ImmutableIntStack
withAll(java.util.stream.IntStream items)
ImmutableIntStack
withAll(IntIterable items)
ImmutableIntStack
withAllReversed(IntIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableIntStackFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableIntStack empty()
- Specified by:
empty
in interfaceImmutableIntStackFactory
-
of
public ImmutableIntStack of()
Description copied from interface:ImmutableIntStackFactory
Same asImmutableIntStackFactory.empty()
.- Specified by:
of
in interfaceImmutableIntStackFactory
-
with
public ImmutableIntStack with()
Description copied from interface:ImmutableIntStackFactory
Same asImmutableIntStackFactory.empty()
.- Specified by:
with
in interfaceImmutableIntStackFactory
-
of
public ImmutableIntStack of(int one)
Description copied from interface:ImmutableIntStackFactory
Same asImmutableIntStackFactory.with(int)
.- Specified by:
of
in interfaceImmutableIntStackFactory
-
with
public ImmutableIntStack with(int one)
- Specified by:
with
in interfaceImmutableIntStackFactory
-
of
public ImmutableIntStack of(int... items)
Description copied from interface:ImmutableIntStackFactory
Same asImmutableIntStackFactory.with(int[])
.- Specified by:
of
in interfaceImmutableIntStackFactory
-
with
public ImmutableIntStack with(int... items)
- Specified by:
with
in interfaceImmutableIntStackFactory
-
ofAll
public ImmutableIntStack ofAll(IntIterable items)
Description copied from interface:ImmutableIntStackFactory
- Specified by:
ofAll
in interfaceImmutableIntStackFactory
-
withAll
public ImmutableIntStack withAll(IntIterable items)
- Specified by:
withAll
in interfaceImmutableIntStackFactory
-
ofAll
public ImmutableIntStack ofAll(java.lang.Iterable<java.lang.Integer> iterable)
Description copied from interface:ImmutableIntStackFactory
- Specified by:
ofAll
in interfaceImmutableIntStackFactory
- Since:
- 10.0
-
withAll
public ImmutableIntStack withAll(java.lang.Iterable<java.lang.Integer> iterable)
- Specified by:
withAll
in interfaceImmutableIntStackFactory
- Since:
- 10.0
-
ofAllReversed
public ImmutableIntStack ofAllReversed(IntIterable items)
Description copied from interface:ImmutableIntStackFactory
- Specified by:
ofAllReversed
in interfaceImmutableIntStackFactory
-
withAllReversed
public ImmutableIntStack withAllReversed(IntIterable items)
- Specified by:
withAllReversed
in interfaceImmutableIntStackFactory
-
ofAll
public ImmutableIntStack ofAll(java.util.stream.IntStream items)
- Specified by:
ofAll
in interfaceImmutableIntStackFactory
- Since:
- 9.0
-
withAll
public ImmutableIntStack withAll(java.util.stream.IntStream items)
- Specified by:
withAll
in interfaceImmutableIntStackFactory
- Since:
- 9.0
-
-