Class ImmutableStackFactoryImpl
java.lang.Object
org.eclipse.collections.impl.stack.immutable.ImmutableStackFactoryImpl
- All Implemented Interfaces:
ImmutableStackFactory
public class ImmutableStackFactoryImpl extends Object implements ImmutableStackFactory
-
Field Summary
Fields Modifier and Type Field Description static ImmutableStackFactoryINSTANCE -
Constructor Summary
Constructors Constructor Description ImmutableStackFactoryImpl() -
Method Summary
Modifier and Type Method Description <T> ImmutableStack<T>empty()<T> ImmutableStack<T>of()Same asImmutableStackFactory.empty().<T> ImmutableStack<T>of(T element)Same asImmutableStackFactory.with(Object).<T> ImmutableStack<T>of(T... elements)Same asImmutableStackFactory.with(Object[]).<T> ImmutableStack<T>ofAll(Iterable<? extends T> items)<T> ImmutableStack<T>ofAllReversed(Iterable<? extends T> items)<T> ImmutableStack<T>ofReversed(T... elements)<T> ImmutableStack<T>with()Same asImmutableStackFactory.empty().<T> ImmutableStack<T>with(T element)<T> ImmutableStack<T>with(T... elements)<T> ImmutableStack<T>withAll(Iterable<? extends T> items)<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
-
Constructor Details
-
ImmutableStackFactoryImpl
public ImmutableStackFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceImmutableStackFactory
-
of
Description copied from interface:ImmutableStackFactorySame asImmutableStackFactory.empty().- Specified by:
ofin interfaceImmutableStackFactory
-
with
Description copied from interface:ImmutableStackFactorySame asImmutableStackFactory.empty().- Specified by:
within interfaceImmutableStackFactory
-
of
Description copied from interface:ImmutableStackFactorySame asImmutableStackFactory.with(Object).- Specified by:
ofin interfaceImmutableStackFactory
-
with
- Specified by:
within interfaceImmutableStackFactory
-
of
Description copied from interface:ImmutableStackFactorySame asImmutableStackFactory.with(Object[]).- Specified by:
ofin interfaceImmutableStackFactory
-
with
- Specified by:
within interfaceImmutableStackFactory
-
ofAll
Description copied from interface:ImmutableStackFactory- Specified by:
ofAllin interfaceImmutableStackFactory
-
withAll
- Specified by:
withAllin interfaceImmutableStackFactory
-
ofReversed
Description copied from interface:ImmutableStackFactory- Specified by:
ofReversedin interfaceImmutableStackFactory
-
withReversed
- Specified by:
withReversedin interfaceImmutableStackFactory
-
ofAllReversed
Description copied from interface:ImmutableStackFactory- Specified by:
ofAllReversedin interfaceImmutableStackFactory
-
withAllReversed
- Specified by:
withAllReversedin interfaceImmutableStackFactory
-