Uses of Interface
org.eclipse.collections.api.stack.ImmutableStack
Package
Description
This package contains Factory API for
ImmutableStack
and MutableStack
.This package contains interfaces for
PartitionStack
.This package contains interfaces for stack API.
This package contains mutable and immutable primitive stack API.
This package contains implementations of the
PartitionStack
interface.This package contains implementations of the
ImmutableStack
interface.This package contains implementations of the
MutableStack
interface.-
Uses of ImmutableStack in org.eclipse.collections.api.factory.stack
Modifier and TypeMethodDescription<T> ImmutableStack<T>
ImmutableStackFactory.empty()
default <T> ImmutableStack<T>
ImmutableStackFactory.fromStream
(Stream<? extends T> stream) <T> ImmutableStack<T>
ImmutableStackFactory.of()
Same asImmutableStackFactory.empty()
.<T> ImmutableStack<T>
ImmutableStackFactory.of
(T element) Same asImmutableStackFactory.with(Object)
.<T> ImmutableStack<T>
ImmutableStackFactory.of
(T... elements) Same asImmutableStackFactory.with(Object[])
.<T> ImmutableStack<T>
<T> ImmutableStack<T>
ImmutableStackFactory.ofAllReversed
(Iterable<? extends T> items) <T> ImmutableStack<T>
ImmutableStackFactory.ofReversed
(T... elements) <T> ImmutableStack<T>
ImmutableStackFactory.with()
Same asImmutableStackFactory.empty()
.<T> ImmutableStack<T>
ImmutableStackFactory.with
(T element) <T> ImmutableStack<T>
ImmutableStackFactory.with
(T... elements) <T> ImmutableStack<T>
<T> ImmutableStack<T>
ImmutableStackFactory.withAllReversed
(Iterable<? extends T> items) <T> ImmutableStack<T>
ImmutableStackFactory.withReversed
(T... elements) -
Uses of ImmutableStack in org.eclipse.collections.api.partition.stack
Modifier and TypeMethodDescriptionPartitionImmutableStack.getRejected()
PartitionImmutableStack.getSelected()
-
Uses of ImmutableStack in org.eclipse.collections.api.stack
Modifier and TypeMethodDescription<V> ImmutableStack<V>
<V> ImmutableStack<V>
<P,
V> ImmutableStack<V> ImmutableStack.collectWith
(Function2<? super T, ? super P, ? extends V> function, P parameter) default <V> ImmutableStack<V>
ImmutableStack.collectWithIndex
(ObjectIntToObjectFunction<? super T, ? extends V> function) ImmutableStack.distinct()
<V> ImmutableStack<V>
ImmutableStack.flatCollect
(Function<? super T, ? extends Iterable<V>> function) default <P,
V> ImmutableStack<V> ImmutableStack.flatCollectWith
(Function2<? super T, ? super P, ? extends Iterable<V>> function, P parameter) ImmutableStack.pop()
ImmutableStack.pop
(int count) <P> ImmutableStack<T>
ImmutableStack.rejectWith
(Predicate2<? super T, ? super P> predicate, P parameter) <S> ImmutableStack<S>
ImmutableStack.selectInstancesOf
(Class<S> clazz) <P> ImmutableStack<T>
ImmutableStack.selectWith
(Predicate2<? super T, ? super P> predicate, P parameter) StackIterable.toImmutable()
Converts the StackIterable to an immutable implementation.<S> ImmutableStack<Pair<T,
S>> ImmutableStack.zipWithIndex()
Modifier and TypeMethodDescriptiondefault Pair<T,
ImmutableStack<T>> ImmutableStack.peekAndPop()
default Pair<ListIterable<T>,
ImmutableStack<T>> ImmutableStack.peekAndPop
(int count) -
Uses of ImmutableStack in org.eclipse.collections.api.stack.primitive
Modifier and TypeMethodDescription<V> ImmutableStack<V>
ImmutableBooleanStack.collect
(BooleanToObjectFunction<? extends V> function) <V> ImmutableStack<V>
ImmutableByteStack.collect
(ByteToObjectFunction<? extends V> function) <V> ImmutableStack<V>
ImmutableCharStack.collect
(CharToObjectFunction<? extends V> function) <V> ImmutableStack<V>
ImmutableDoubleStack.collect
(DoubleToObjectFunction<? extends V> function) <V> ImmutableStack<V>
ImmutableFloatStack.collect
(FloatToObjectFunction<? extends V> function) <V> ImmutableStack<V>
ImmutableIntStack.collect
(IntToObjectFunction<? extends V> function) <V> ImmutableStack<V>
ImmutableLongStack.collect
(LongToObjectFunction<? extends V> function) <V> ImmutableStack<V>
ImmutableShortStack.collect
(ShortToObjectFunction<? extends V> function) default <V> ImmutableStack<V>
ImmutableBooleanStack.collectWithIndex
(BooleanIntToObjectFunction<? extends V> function) Returns a new ImmutableStack using results obtained by applying the specified function to each element and its corresponding index.default <V> ImmutableStack<V>
ImmutableByteStack.collectWithIndex
(ByteIntToObjectFunction<? extends V> function) Returns a new ImmutableStack using results obtained by applying the specified function to each element and its corresponding index.default <V> ImmutableStack<V>
ImmutableCharStack.collectWithIndex
(CharIntToObjectFunction<? extends V> function) Returns a new ImmutableStack using results obtained by applying the specified function to each element and its corresponding index.default <V> ImmutableStack<V>
ImmutableDoubleStack.collectWithIndex
(DoubleIntToObjectFunction<? extends V> function) Returns a new ImmutableStack using results obtained by applying the specified function to each element and its corresponding index.default <V> ImmutableStack<V>
ImmutableFloatStack.collectWithIndex
(FloatIntToObjectFunction<? extends V> function) Returns a new ImmutableStack using results obtained by applying the specified function to each element and its corresponding index.default <V> ImmutableStack<V>
ImmutableIntStack.collectWithIndex
(IntIntToObjectFunction<? extends V> function) Returns a new ImmutableStack using results obtained by applying the specified function to each element and its corresponding index.default <V> ImmutableStack<V>
ImmutableLongStack.collectWithIndex
(LongIntToObjectFunction<? extends V> function) Returns a new ImmutableStack using results obtained by applying the specified function to each element and its corresponding index.default <V> ImmutableStack<V>
ImmutableShortStack.collectWithIndex
(ShortIntToObjectFunction<? extends V> function) Returns a new ImmutableStack using results obtained by applying the specified function to each element and its corresponding index. -
Uses of ImmutableStack in org.eclipse.collections.impl.collector
Modifier and TypeMethodDescriptionstatic <T> Collector<T,
?, ImmutableStack<T>> Collectors2.toImmutableStack()
Returns the elements as an ImmutableStack. -
Uses of ImmutableStack in org.eclipse.collections.impl.partition.stack
Modifier and TypeMethodDescriptionPartitionImmutableStackImpl.getRejected()
PartitionImmutableStackImpl.getSelected()
-
Uses of ImmutableStack in org.eclipse.collections.impl.stack.immutable
Modifier and TypeMethodDescription<T> ImmutableStack<T>
ImmutableStackFactoryImpl.empty()
<T> ImmutableStack<T>
ImmutableStackFactoryImpl.of()
<T> ImmutableStack<T>
ImmutableStackFactoryImpl.of
(T element) <T> ImmutableStack<T>
ImmutableStackFactoryImpl.of
(T... elements) <T> ImmutableStack<T>
<T> ImmutableStack<T>
ImmutableStackFactoryImpl.ofAllReversed
(Iterable<? extends T> items) <T> ImmutableStack<T>
ImmutableStackFactoryImpl.ofReversed
(T... elements) <T> ImmutableStack<T>
ImmutableStackFactoryImpl.with()
<T> ImmutableStack<T>
ImmutableStackFactoryImpl.with
(T element) <T> ImmutableStack<T>
ImmutableStackFactoryImpl.with
(T... elements) <T> ImmutableStack<T>
<T> ImmutableStack<T>
ImmutableStackFactoryImpl.withAllReversed
(Iterable<? extends T> items) <T> ImmutableStack<T>
ImmutableStackFactoryImpl.withReversed
(T... elements) -
Uses of ImmutableStack in org.eclipse.collections.impl.stack.mutable
Modifier and TypeMethodDescriptionArrayStack.toImmutable()
SynchronizedStack.toImmutable()
UnmodifiableStack.toImmutable()