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 MutableIntStackFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description MutableIntStackFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableIntStackempty()MutableIntStackof()Same asMutableIntStackFactory.empty().MutableIntStackof(int... items)Same asMutableIntStackFactory.with(int[]).MutableIntStackofAll(java.lang.Iterable<java.lang.Integer> iterable)MutableIntStackofAll(java.util.stream.IntStream items)MutableIntStackofAll(IntIterable items)MutableIntStackofAllReversed(IntIterable items)MutableIntStackwith()Same asMutableIntStackFactory.empty().MutableIntStackwith(int... items)MutableIntStackwithAll(java.lang.Iterable<java.lang.Integer> iterable)MutableIntStackwithAll(java.util.stream.IntStream items)MutableIntStackwithAll(IntIterable items)MutableIntStackwithAllReversed(IntIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final MutableIntStackFactory INSTANCE
-
-
Method Detail
-
empty
public MutableIntStack empty()
- Specified by:
emptyin interfaceMutableIntStackFactory
-
of
public MutableIntStack of()
Description copied from interface:MutableIntStackFactorySame asMutableIntStackFactory.empty().- Specified by:
ofin interfaceMutableIntStackFactory
-
with
public MutableIntStack with()
Description copied from interface:MutableIntStackFactorySame asMutableIntStackFactory.empty().- Specified by:
within interfaceMutableIntStackFactory
-
of
public MutableIntStack of(int... items)
Description copied from interface:MutableIntStackFactorySame asMutableIntStackFactory.with(int[]).- Specified by:
ofin interfaceMutableIntStackFactory
-
with
public MutableIntStack with(int... items)
- Specified by:
within interfaceMutableIntStackFactory
-
ofAll
public MutableIntStack ofAll(IntIterable items)
Description copied from interface:MutableIntStackFactory- Specified by:
ofAllin interfaceMutableIntStackFactory
-
withAll
public MutableIntStack withAll(IntIterable items)
- Specified by:
withAllin interfaceMutableIntStackFactory
-
ofAll
public MutableIntStack ofAll(java.lang.Iterable<java.lang.Integer> iterable)
Description copied from interface:MutableIntStackFactory- Specified by:
ofAllin interfaceMutableIntStackFactory- Since:
- 10.0
-
withAll
public MutableIntStack withAll(java.lang.Iterable<java.lang.Integer> iterable)
- Specified by:
withAllin interfaceMutableIntStackFactory- Since:
- 10.0
-
ofAllReversed
public MutableIntStack ofAllReversed(IntIterable items)
Description copied from interface:MutableIntStackFactory- Specified by:
ofAllReversedin interfaceMutableIntStackFactory
-
withAllReversed
public MutableIntStack withAllReversed(IntIterable items)
- Specified by:
withAllReversedin interfaceMutableIntStackFactory
-
ofAll
public MutableIntStack ofAll(java.util.stream.IntStream items)
- Specified by:
ofAllin interfaceMutableIntStackFactory- Since:
- 9.0
-
withAll
public MutableIntStack withAll(java.util.stream.IntStream items)
- Specified by:
withAllin interfaceMutableIntStackFactory- Since:
- 9.0
-
-