public class ImmutableStackFactoryImpl
extends java.lang.Object
implements com.gs.collections.api.factory.stack.ImmutableStackFactory
| Constructor and Description |
|---|
ImmutableStackFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
<T> com.gs.collections.api.stack.ImmutableStack<T> |
empty() |
<T> com.gs.collections.api.stack.ImmutableStack<T> |
of()
Same as
ImmutableStackFactory.empty(). |
<T> com.gs.collections.api.stack.ImmutableStack<T> |
of(T... elements)
Same as
ImmutableStackFactory.with(Object[]). |
<T> com.gs.collections.api.stack.ImmutableStack<T> |
of(T element)
Same as
ImmutableStackFactory.with(Object). |
<T> com.gs.collections.api.stack.ImmutableStack<T> |
ofAll(java.lang.Iterable<? extends T> items)
Same as
ImmutableStackFactory.withAll(Iterable). |
<T> com.gs.collections.api.stack.ImmutableStack<T> |
ofAllReversed(java.lang.Iterable<? extends T> items)
Same as
ImmutableStackFactory.withAllReversed(Iterable). |
<T> com.gs.collections.api.stack.ImmutableStack<T> |
ofReversed(T... elements)
Same as
ImmutableStackFactory.withReversed(Object[]). |
<T> com.gs.collections.api.stack.ImmutableStack<T> |
with()
Same as
ImmutableStackFactory.empty(). |
<T> com.gs.collections.api.stack.ImmutableStack<T> |
with(T... elements) |
<T> com.gs.collections.api.stack.ImmutableStack<T> |
with(T element) |
<T> com.gs.collections.api.stack.ImmutableStack<T> |
withAll(java.lang.Iterable<? extends T> items) |
<T> com.gs.collections.api.stack.ImmutableStack<T> |
withAllReversed(java.lang.Iterable<? extends T> items) |
<T> com.gs.collections.api.stack.ImmutableStack<T> |
withReversed(T... elements) |
public <T> com.gs.collections.api.stack.ImmutableStack<T> empty()
empty in interface com.gs.collections.api.factory.stack.ImmutableStackFactorypublic <T> com.gs.collections.api.stack.ImmutableStack<T> of()
com.gs.collections.api.factory.stack.ImmutableStackFactoryImmutableStackFactory.empty().of in interface com.gs.collections.api.factory.stack.ImmutableStackFactorypublic <T> com.gs.collections.api.stack.ImmutableStack<T> with()
com.gs.collections.api.factory.stack.ImmutableStackFactoryImmutableStackFactory.empty().with in interface com.gs.collections.api.factory.stack.ImmutableStackFactorypublic <T> com.gs.collections.api.stack.ImmutableStack<T> of(T element)
com.gs.collections.api.factory.stack.ImmutableStackFactoryImmutableStackFactory.with(Object).of in interface com.gs.collections.api.factory.stack.ImmutableStackFactorypublic <T> com.gs.collections.api.stack.ImmutableStack<T> with(T element)
with in interface com.gs.collections.api.factory.stack.ImmutableStackFactorypublic <T> com.gs.collections.api.stack.ImmutableStack<T> of(T... elements)
com.gs.collections.api.factory.stack.ImmutableStackFactoryImmutableStackFactory.with(Object[]).of in interface com.gs.collections.api.factory.stack.ImmutableStackFactorypublic <T> com.gs.collections.api.stack.ImmutableStack<T> with(T... elements)
with in interface com.gs.collections.api.factory.stack.ImmutableStackFactorypublic <T> com.gs.collections.api.stack.ImmutableStack<T> ofAll(java.lang.Iterable<? extends T> items)
com.gs.collections.api.factory.stack.ImmutableStackFactoryImmutableStackFactory.withAll(Iterable).ofAll in interface com.gs.collections.api.factory.stack.ImmutableStackFactorypublic <T> com.gs.collections.api.stack.ImmutableStack<T> withAll(java.lang.Iterable<? extends T> items)
withAll in interface com.gs.collections.api.factory.stack.ImmutableStackFactorypublic <T> com.gs.collections.api.stack.ImmutableStack<T> ofReversed(T... elements)
com.gs.collections.api.factory.stack.ImmutableStackFactoryImmutableStackFactory.withReversed(Object[]).ofReversed in interface com.gs.collections.api.factory.stack.ImmutableStackFactorypublic <T> com.gs.collections.api.stack.ImmutableStack<T> withReversed(T... elements)
withReversed in interface com.gs.collections.api.factory.stack.ImmutableStackFactorypublic <T> com.gs.collections.api.stack.ImmutableStack<T> ofAllReversed(java.lang.Iterable<? extends T> items)
com.gs.collections.api.factory.stack.ImmutableStackFactoryImmutableStackFactory.withAllReversed(Iterable).ofAllReversed in interface com.gs.collections.api.factory.stack.ImmutableStackFactorypublic <T> com.gs.collections.api.stack.ImmutableStack<T> withAllReversed(java.lang.Iterable<? extends T> items)
withAllReversed in interface com.gs.collections.api.factory.stack.ImmutableStackFactory