Uses of Interface
org.eclipse.collections.api.stack.MutableStack
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
MutableSortedBag
.This package contains implementations of the
LazyIterable
interface.This package contains implementations of the
MutableList
interface.This package contains implementations of the
MutableSortedMap
interface.This package contains implementations of the
MutableSortedMap
interface.This package contains implementations of the
PartitionStack
interface.This package contains implementations of
MutableSortedSet
.This package contains implementations of the
MutableStack
interface.This package contains implementations of the mutable primitive stack interfaces.
-
Uses of MutableStack in org.eclipse.collections.api.factory.stack
Modifier and TypeMethodDescription<T> MutableStack<T>
MutableStackFactory.empty()
<T> MutableStack<T>
MutableStackFactory.fromStream
(Stream<? extends T> stream) default <T> MutableStack<T>
MutableStackFactory.of()
Same asMutableStackFactory.empty()
.default <T> MutableStack<T>
MutableStackFactory.of
(T... elements) Same asMutableStackFactory.with(Object[])
.default <T> MutableStack<T>
default <T> MutableStack<T>
MutableStackFactory.ofAllReversed
(Iterable<? extends T> items) default <T> MutableStack<T>
MutableStackFactory.ofReversed
(T... elements) default <T> MutableStack<T>
MutableStackFactory.with()
Same asMutableStackFactory.empty()
.<T> MutableStack<T>
MutableStackFactory.with
(T... elements) <T> MutableStack<T>
<T> MutableStack<T>
MutableStackFactory.withAllReversed
(Iterable<? extends T> items) <T> MutableStack<T>
MutableStackFactory.withReversed
(T... elements) -
Uses of MutableStack in org.eclipse.collections.api.ordered
Modifier and TypeMethodDescriptiondefault MutableStack<T>
OrderedIterable.toStack()
Converts the OrderedIterable to a mutable MutableStack implementation. -
Uses of MutableStack in org.eclipse.collections.api.partition.stack
Modifier and TypeMethodDescriptionPartitionMutableStack.getRejected()
PartitionMutableStack.getSelected()
-
Uses of MutableStack in org.eclipse.collections.api.stack
Modifier and TypeMethodDescription<R extends MutableStack<T>>
RMutableStack.pop
(int count, R targetStack) Removes and returns a ListIterable of the number of elements specified by the count, beginning with the top of the stack and puts them into a new stack.Modifier and TypeMethodDescriptionMutableStack.asSynchronized()
MutableStack.asUnmodifiable()
<V> MutableStack<V>
<V> MutableStack<V>
<P,
V> MutableStack<V> MutableStack.collectWith
(Function2<? super T, ? super P, ? extends V> function, P parameter) default <V> MutableStack<V>
MutableStack.collectWithIndex
(ObjectIntToObjectFunction<? super T, ? extends V> function) MutableStack.distinct()
<V> MutableStack<V>
MutableStack.flatCollect
(Function<? super T, ? extends Iterable<V>> function) default <P,
V> MutableStack<V> MutableStack.flatCollectWith
(Function2<? super T, ? super P, ? extends Iterable<V>> function, P parameter) <P> MutableStack<T>
MutableStack.rejectWith
(Predicate2<? super T, ? super P> predicate, P parameter) <S> MutableStack<S>
MutableStack.selectInstancesOf
(Class<S> clazz) <P> MutableStack<T>
MutableStack.selectWith
(Predicate2<? super T, ? super P> predicate, P parameter) default MutableStack<T>
StackIterable.toStack()
Converts the stack to a MutableStack implementation.<S> MutableStack<Pair<T,
S>> MutableStack.zipWithIndex()
-
Uses of MutableStack in org.eclipse.collections.api.stack.primitive
Modifier and TypeMethodDescription<V> MutableStack<V>
MutableBooleanStack.collect
(BooleanToObjectFunction<? extends V> function) <V> MutableStack<V>
MutableByteStack.collect
(ByteToObjectFunction<? extends V> function) <V> MutableStack<V>
MutableCharStack.collect
(CharToObjectFunction<? extends V> function) <V> MutableStack<V>
MutableDoubleStack.collect
(DoubleToObjectFunction<? extends V> function) <V> MutableStack<V>
MutableFloatStack.collect
(FloatToObjectFunction<? extends V> function) <V> MutableStack<V>
MutableIntStack.collect
(IntToObjectFunction<? extends V> function) <V> MutableStack<V>
MutableLongStack.collect
(LongToObjectFunction<? extends V> function) <V> MutableStack<V>
MutableShortStack.collect
(ShortToObjectFunction<? extends V> function) default <V> MutableStack<V>
MutableBooleanStack.collectWithIndex
(BooleanIntToObjectFunction<? extends V> function) Returns a new MutableStack using results obtained by applying the specified function to each element and its corresponding index.default <V> MutableStack<V>
MutableByteStack.collectWithIndex
(ByteIntToObjectFunction<? extends V> function) Returns a new MutableStack using results obtained by applying the specified function to each element and its corresponding index.default <V> MutableStack<V>
MutableCharStack.collectWithIndex
(CharIntToObjectFunction<? extends V> function) Returns a new MutableStack using results obtained by applying the specified function to each element and its corresponding index.default <V> MutableStack<V>
MutableDoubleStack.collectWithIndex
(DoubleIntToObjectFunction<? extends V> function) Returns a new MutableStack using results obtained by applying the specified function to each element and its corresponding index.default <V> MutableStack<V>
MutableFloatStack.collectWithIndex
(FloatIntToObjectFunction<? extends V> function) Returns a new MutableStack using results obtained by applying the specified function to each element and its corresponding index.default <V> MutableStack<V>
MutableIntStack.collectWithIndex
(IntIntToObjectFunction<? extends V> function) Returns a new MutableStack using results obtained by applying the specified function to each element and its corresponding index.default <V> MutableStack<V>
MutableLongStack.collectWithIndex
(LongIntToObjectFunction<? extends V> function) Returns a new MutableStack using results obtained by applying the specified function to each element and its corresponding index.default <V> MutableStack<V>
MutableShortStack.collectWithIndex
(ShortIntToObjectFunction<? extends V> function) Returns a new MutableStack using results obtained by applying the specified function to each element and its corresponding index. -
Uses of MutableStack in org.eclipse.collections.impl.bag.sorted.mutable
-
Uses of MutableStack in org.eclipse.collections.impl.collector
Modifier and TypeMethodDescriptionstatic <T> Collector<T,
?, MutableStack<T>> Collectors2.toStack()
Returns the elements as a MutableStack. -
Uses of MutableStack in org.eclipse.collections.impl.lazy
-
Uses of MutableStack in org.eclipse.collections.impl.list.mutable
-
Uses of MutableStack in org.eclipse.collections.impl.map.ordered.mutable
-
Uses of MutableStack in org.eclipse.collections.impl.map.sorted.immutable
-
Uses of MutableStack in org.eclipse.collections.impl.map.sorted.mutable
-
Uses of MutableStack in org.eclipse.collections.impl.partition.stack
Modifier and TypeMethodDescriptionPartitionArrayStack.getRejected()
PartitionArrayStack.getSelected()
-
Uses of MutableStack in org.eclipse.collections.impl.set.sorted.mutable
-
Uses of MutableStack in org.eclipse.collections.impl.stack.mutable
Modifier and TypeClassDescriptionclass
ArrayStack<T>
ArrayStack is a MutableStack which contains a FastList of data.final class
A synchronized view of aMutableStack
.final class
Modifier and TypeMethodDescriptionstatic <T,
S extends MutableStack<T>>
SynchronizedStack<T>SynchronizedStack.of
(S stack) This method will take a MutableStack and wrap it directly in a SynchronizedStack.static <T,
S extends MutableStack<T>>
UnmodifiableStack<T>UnmodifiableStack.of
(S stack) <R extends MutableStack<T>>
RArrayStack.pop
(int count, R targetStack) <R extends MutableStack<T>>
RSynchronizedStack.pop
(int count, R targetStack) <R extends MutableStack<T>>
RUnmodifiableStack.pop
(int count, R targetStack) Modifier and TypeMethodDescriptionArrayStack.asSynchronized()
SynchronizedStack.asSynchronized()
UnmodifiableStack.asSynchronized()
ArrayStack.asUnmodifiable()
SynchronizedStack.asUnmodifiable()
UnmodifiableStack.asUnmodifiable()
<V> MutableStack<V>
<V> MutableStack<V>
<V> MutableStack<V>
SynchronizedStack.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V> MutableStack<V>
UnmodifiableStack.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <P,
V> MutableStack<V> SynchronizedStack.collectWith
(Function2<? super T, ? super P, ? extends V> function, P parameter) <P,
V> MutableStack<V> UnmodifiableStack.collectWith
(Function2<? super T, ? super P, ? extends V> function, P parameter) <V> MutableStack<V>
SynchronizedStack.collectWithIndex
(ObjectIntToObjectFunction<? super T, ? extends V> function) <V> MutableStack<V>
UnmodifiableStack.collectWithIndex
(ObjectIntToObjectFunction<? super T, ? extends V> function) ArrayStack.distinct()
SynchronizedStack.distinct()
UnmodifiableStack.distinct()
<T> MutableStack<T>
MutableStackFactoryImpl.empty()
<V> MutableStack<V>
SynchronizedStack.flatCollect
(Function<? super T, ? extends Iterable<V>> function) <V> MutableStack<V>
UnmodifiableStack.flatCollect
(Function<? super T, ? extends Iterable<V>> function) <T> MutableStack<T>
MutableStackFactoryImpl.fromStream
(Stream<? extends T> stream) <P> MutableStack<T>
SynchronizedStack.rejectWith
(Predicate2<? super T, ? super P> predicate, P parameter) <P> MutableStack<T>
UnmodifiableStack.rejectWith
(Predicate2<? super T, ? super P> predicate, P parameter) <S> MutableStack<S>
SynchronizedStack.selectInstancesOf
(Class<S> clazz) <S> MutableStack<S>
UnmodifiableStack.selectInstancesOf
(Class<S> clazz) <P> MutableStack<T>
SynchronizedStack.selectWith
(Predicate2<? super T, ? super P> predicate, P parameter) <P> MutableStack<T>
UnmodifiableStack.selectWith
(Predicate2<? super T, ? super P> predicate, P parameter) SynchronizedStack.toStack()
<T> MutableStack<T>
MutableStackFactoryImpl.with
(T... elements) <T> MutableStack<T>
<T> MutableStack<T>
MutableStackFactoryImpl.withAllReversed
(Iterable<? extends T> items) <T> MutableStack<T>
MutableStackFactoryImpl.withReversed
(T... elements) <S> MutableStack<Pair<T,
S>> <S> MutableStack<Pair<T,
S>> SynchronizedStack.zipWithIndex()
UnmodifiableStack.zipWithIndex()
ModifierConstructorDescriptionSynchronizedStack
(MutableStack<T> newStack) SynchronizedStack
(MutableStack<T> newStack, Object newLock) -
Uses of MutableStack in org.eclipse.collections.impl.stack.mutable.primitive
Modifier and TypeMethodDescription<V> MutableStack<V>
BooleanArrayStack.collect
(BooleanToObjectFunction<? extends V> function) <V> MutableStack<V>
ByteArrayStack.collect
(ByteToObjectFunction<? extends V> function) <V> MutableStack<V>
CharArrayStack.collect
(CharToObjectFunction<? extends V> function) <V> MutableStack<V>
DoubleArrayStack.collect
(DoubleToObjectFunction<? extends V> function) <V> MutableStack<V>
FloatArrayStack.collect
(FloatToObjectFunction<? extends V> function) <V> MutableStack<V>
IntArrayStack.collect
(IntToObjectFunction<? extends V> function) <V> MutableStack<V>
LongArrayStack.collect
(LongToObjectFunction<? extends V> function) <V> MutableStack<V>
ShortArrayStack.collect
(ShortToObjectFunction<? extends V> function) <V> MutableStack<V>
SynchronizedBooleanStack.collect
(BooleanToObjectFunction<? extends V> function) <V> MutableStack<V>
SynchronizedByteStack.collect
(ByteToObjectFunction<? extends V> function) <V> MutableStack<V>
SynchronizedCharStack.collect
(CharToObjectFunction<? extends V> function) <V> MutableStack<V>
SynchronizedDoubleStack.collect
(DoubleToObjectFunction<? extends V> function) <V> MutableStack<V>
SynchronizedFloatStack.collect
(FloatToObjectFunction<? extends V> function) <V> MutableStack<V>
SynchronizedIntStack.collect
(IntToObjectFunction<? extends V> function) <V> MutableStack<V>
SynchronizedLongStack.collect
(LongToObjectFunction<? extends V> function) <V> MutableStack<V>
SynchronizedShortStack.collect
(ShortToObjectFunction<? extends V> function) <V> MutableStack<V>
UnmodifiableBooleanStack.collect
(BooleanToObjectFunction<? extends V> function) <V> MutableStack<V>
UnmodifiableByteStack.collect
(ByteToObjectFunction<? extends V> function) <V> MutableStack<V>
UnmodifiableCharStack.collect
(CharToObjectFunction<? extends V> function) <V> MutableStack<V>
UnmodifiableDoubleStack.collect
(DoubleToObjectFunction<? extends V> function) <V> MutableStack<V>
UnmodifiableFloatStack.collect
(FloatToObjectFunction<? extends V> function) <V> MutableStack<V>
UnmodifiableIntStack.collect
(IntToObjectFunction<? extends V> function) <V> MutableStack<V>
UnmodifiableLongStack.collect
(LongToObjectFunction<? extends V> function) <V> MutableStack<V>
UnmodifiableShortStack.collect
(ShortToObjectFunction<? extends V> function) <V> MutableStack<V>
SynchronizedBooleanStack.collectWithIndex
(BooleanIntToObjectFunction<? extends V> function) Returns a new MutableStack using results obtained by applying the specified function to each element and its corresponding index.<V> MutableStack<V>
SynchronizedByteStack.collectWithIndex
(ByteIntToObjectFunction<? extends V> function) Returns a new MutableStack using results obtained by applying the specified function to each element and its corresponding index.<V> MutableStack<V>
SynchronizedCharStack.collectWithIndex
(CharIntToObjectFunction<? extends V> function) Returns a new MutableStack using results obtained by applying the specified function to each element and its corresponding index.<V> MutableStack<V>
SynchronizedDoubleStack.collectWithIndex
(DoubleIntToObjectFunction<? extends V> function) Returns a new MutableStack using results obtained by applying the specified function to each element and its corresponding index.<V> MutableStack<V>
SynchronizedFloatStack.collectWithIndex
(FloatIntToObjectFunction<? extends V> function) Returns a new MutableStack using results obtained by applying the specified function to each element and its corresponding index.<V> MutableStack<V>
SynchronizedIntStack.collectWithIndex
(IntIntToObjectFunction<? extends V> function) Returns a new MutableStack using results obtained by applying the specified function to each element and its corresponding index.<V> MutableStack<V>
SynchronizedLongStack.collectWithIndex
(LongIntToObjectFunction<? extends V> function) Returns a new MutableStack using results obtained by applying the specified function to each element and its corresponding index.<V> MutableStack<V>
SynchronizedShortStack.collectWithIndex
(ShortIntToObjectFunction<? extends V> function) Returns a new MutableStack using results obtained by applying the specified function to each element and its corresponding index.<V> MutableStack<V>
UnmodifiableBooleanStack.collectWithIndex
(BooleanIntToObjectFunction<? extends V> function) Returns a new MutableStack using results obtained by applying the specified function to each element and its corresponding index.<V> MutableStack<V>
UnmodifiableByteStack.collectWithIndex
(ByteIntToObjectFunction<? extends V> function) Returns a new MutableStack using results obtained by applying the specified function to each element and its corresponding index.<V> MutableStack<V>
UnmodifiableCharStack.collectWithIndex
(CharIntToObjectFunction<? extends V> function) Returns a new MutableStack using results obtained by applying the specified function to each element and its corresponding index.<V> MutableStack<V>
UnmodifiableDoubleStack.collectWithIndex
(DoubleIntToObjectFunction<? extends V> function) Returns a new MutableStack using results obtained by applying the specified function to each element and its corresponding index.<V> MutableStack<V>
UnmodifiableFloatStack.collectWithIndex
(FloatIntToObjectFunction<? extends V> function) Returns a new MutableStack using results obtained by applying the specified function to each element and its corresponding index.<V> MutableStack<V>
UnmodifiableIntStack.collectWithIndex
(IntIntToObjectFunction<? extends V> function) Returns a new MutableStack using results obtained by applying the specified function to each element and its corresponding index.<V> MutableStack<V>
UnmodifiableLongStack.collectWithIndex
(LongIntToObjectFunction<? extends V> function) Returns a new MutableStack using results obtained by applying the specified function to each element and its corresponding index.<V> MutableStack<V>
UnmodifiableShortStack.collectWithIndex
(ShortIntToObjectFunction<? extends V> function) Returns a new MutableStack using results obtained by applying the specified function to each element and its corresponding index.