Class MutableStackFactoryImpl
java.lang.Object
org.eclipse.collections.impl.stack.mutable.MutableStackFactoryImpl
- All Implemented Interfaces:
MutableStackFactory
public class MutableStackFactoryImpl extends Object implements MutableStackFactory
-
Field Summary
Fields Modifier and Type Field Description static MutableStackFactoryINSTANCE -
Constructor Summary
Constructors Constructor Description MutableStackFactoryImpl() -
Method Summary
Modifier and Type Method Description <T> MutableStack<T>empty()<T> MutableStack<T>fromStream(Stream<? extends T> stream)<T> MutableStack<T>with(T... elements)<T> MutableStack<T>withAll(Iterable<? extends T> elements)<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, waitMethods inherited from interface org.eclipse.collections.api.factory.stack.MutableStackFactory
of, of, ofAll, ofAllReversed, ofReversed, with
-
Field Details
-
Constructor Details
-
MutableStackFactoryImpl
public MutableStackFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceMutableStackFactory
-
with
- Specified by:
within interfaceMutableStackFactory
-
withAll
- Specified by:
withAllin interfaceMutableStackFactory
-
fromStream
- Specified by:
fromStreamin interfaceMutableStackFactory
-
withReversed
- Specified by:
withReversedin interfaceMutableStackFactory
-
withAllReversed
- Specified by:
withAllReversedin interfaceMutableStackFactory
-