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