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