Class MutableStackFactoryImpl
java.lang.Object
org.eclipse.collections.impl.stack.mutable.MutableStackFactoryImpl
- All Implemented Interfaces:
MutableStackFactory
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> MutableStack<T>
empty()
<T> MutableStack<T>
fromStream
(Stream<? extends T> stream) <T> MutableStack<T>
with
(T... elements) <T> MutableStack<T>
<T> MutableStack<T>
withAllReversed
(Iterable<? extends T> items) <T> MutableStack<T>
withReversed
(T... elements) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.collections.api.factory.stack.MutableStackFactory
of, of, ofAll, ofAllReversed, ofReversed, with
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MutableStackFactoryImpl
public MutableStackFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceMutableStackFactory
-
with
- Specified by:
with
in interfaceMutableStackFactory
-
withAll
- Specified by:
withAll
in interfaceMutableStackFactory
-
fromStream
- Specified by:
fromStream
in interfaceMutableStackFactory
-
withReversed
- Specified by:
withReversed
in interfaceMutableStackFactory
-
withAllReversed
- Specified by:
withAllReversed
in interfaceMutableStackFactory
-