Class ImmutableStackFactoryImpl
java.lang.Object
org.eclipse.collections.impl.stack.immutable.ImmutableStackFactoryImpl
- All Implemented Interfaces:
ImmutableStackFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> ImmutableStack<T>empty()<T> ImmutableStack<T>of()<T> ImmutableStack<T>of(T element) <T> ImmutableStack<T>of(T... elements) <T> ImmutableStack<T><T> ImmutableStack<T>ofAllReversed(Iterable<? extends T> items) <T> ImmutableStack<T>ofReversed(T... elements) <T> ImmutableStack<T>with()<T> ImmutableStack<T>with(T element) <T> ImmutableStack<T>with(T... elements) <T> ImmutableStack<T><T> ImmutableStack<T>withAllReversed(Iterable<? extends T> items) <T> ImmutableStack<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.ImmutableStackFactory
fromStream
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableStackFactoryImpl
public ImmutableStackFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceImmutableStackFactory
-
of
- Specified by:
ofin interfaceImmutableStackFactory
-
with
- Specified by:
within interfaceImmutableStackFactory
-
of
- Specified by:
ofin interfaceImmutableStackFactory
-
with
- Specified by:
within interfaceImmutableStackFactory
-
of
- Specified by:
ofin interfaceImmutableStackFactory
-
with
- Specified by:
within interfaceImmutableStackFactory
-
ofAll
- Specified by:
ofAllin interfaceImmutableStackFactory
-
withAll
- Specified by:
withAllin interfaceImmutableStackFactory
-
ofReversed
- Specified by:
ofReversedin interfaceImmutableStackFactory
-
withReversed
- Specified by:
withReversedin interfaceImmutableStackFactory
-
ofAllReversed
- Specified by:
ofAllReversedin interfaceImmutableStackFactory
-
withAllReversed
- Specified by:
withAllReversedin interfaceImmutableStackFactory
-