Package | Description |
---|---|
org.eclipse.collections.api.factory.stack |
This package contains Factory API for
ImmutableStack and MutableStack . |
org.eclipse.collections.api.list |
This package contains interfaces for list API which enhance the performance and functionality of
List . |
org.eclipse.collections.api.ordered | |
org.eclipse.collections.api.partition.stack |
This package contains interfaces for
PartitionStack . |
org.eclipse.collections.api.stack |
This package contains interfaces for stack API.
|
org.eclipse.collections.api.stack.primitive |
This package contains mutable and immutable primitive stack API.
|
org.eclipse.collections.impl.bag.sorted.mutable |
This package contains implementations of
MutableSortedBag . |
org.eclipse.collections.impl.collector | |
org.eclipse.collections.impl.lazy |
This package contains implementations of the
LazyIterable interface. |
org.eclipse.collections.impl.list.mutable |
This package contains implementations of the
MutableList interface. |
org.eclipse.collections.impl.map.sorted.immutable |
This package contains implementations of the
MutableSortedMap interface. |
org.eclipse.collections.impl.map.sorted.mutable |
This package contains implementations of the
MutableSortedMap interface. |
org.eclipse.collections.impl.partition.stack |
This package contains implementations of the
PartitionStack interface. |
org.eclipse.collections.impl.set.sorted.mutable |
This package contains implementations of
MutableSortedSet . |
org.eclipse.collections.impl.stack.mutable |
This package contains implementations of the
MutableStack interface. |
org.eclipse.collections.impl.stack.mutable.primitive |
This package contains implementations of the mutable primitive stack interfaces.
|
Modifier and Type | Method | Description |
---|---|---|
<T> MutableStack<T> |
MutableStackFactory.empty() |
|
<T> MutableStack<T> |
MutableStackFactory.of() |
Same as
MutableStackFactory.empty() . |
<T> MutableStack<T> |
MutableStackFactory.of(T... elements) |
Same as
MutableStackFactory.with(Object[]) . |
<T> MutableStack<T> |
MutableStackFactory.ofAll(Iterable<? extends T> elements) |
|
<T> MutableStack<T> |
MutableStackFactory.ofAllReversed(Iterable<? extends T> items) |
|
<T> MutableStack<T> |
MutableStackFactory.ofReversed(T... elements) |
|
<T> MutableStack<T> |
MutableStackFactory.with() |
Same as
MutableStackFactory.empty() . |
<T> MutableStack<T> |
MutableStackFactory.with(T... elements) |
|
<T> MutableStack<T> |
MutableStackFactory.withAll(Iterable<? extends T> elements) |
|
<T> MutableStack<T> |
MutableStackFactory.withAllReversed(Iterable<? extends T> items) |
|
<T> MutableStack<T> |
MutableStackFactory.withReversed(T... elements) |
Modifier and Type | Method | Description |
---|---|---|
MutableStack<T> |
ListIterable.toStack() |
Converts the list to a mutable MutableStack implementation.
|
Modifier and Type | Method | Description |
---|---|---|
MutableStack<T> |
OrderedIterable.toStack() |
Converts the OrderedIterable to a mutable MutableStack implementation.
|
MutableStack<T> |
SortedIterable.toStack() |
Converts the SortedIterable to a mutable MutableStack implementation.
|
Modifier and Type | Method | Description |
---|---|---|
MutableStack<T> |
PartitionMutableStack.getRejected() |
|
MutableStack<T> |
PartitionMutableStack.getSelected() |
Modifier and Type | Method | Description |
---|---|---|
<R extends MutableStack<T>> |
MutableStack.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 Type | Method | Description |
---|---|---|
MutableStack<T> |
MutableStack.asSynchronized() |
|
MutableStack<T> |
MutableStack.asUnmodifiable() |
|
<V> MutableStack<V> |
MutableStack.collect(Function<? super T,? extends V> function) |
|
<V> MutableStack<V> |
MutableStack.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
|
<P,V> MutableStack<V> |
MutableStack.collectWith(Function2<? super T,? super P,? extends V> function,
P parameter) |
|
<V> MutableStack<V> |
MutableStack.collectWithIndex(ObjectIntToObjectFunction<? super T,? extends V> function) |
|
MutableStack<T> |
MutableStack.distinct() |
|
MutableStack<T> |
MutableStack.dropWhile(Predicate<? super T> predicate) |
|
<V> MutableStack<V> |
MutableStack.flatCollect(Function<? super T,? extends Iterable<V>> function) |
|
MutableStack<T> |
MutableStack.reject(Predicate<? super T> predicate) |
|
<P> MutableStack<T> |
MutableStack.rejectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
|
MutableStack<T> |
MutableStack.select(Predicate<? super T> predicate) |
|
<S> MutableStack<S> |
MutableStack.selectInstancesOf(Class<S> clazz) |
|
<P> MutableStack<T> |
MutableStack.selectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
|
MutableStack<T> |
MutableStack.takeWhile(Predicate<? super T> predicate) |
|
MutableStack<T> |
MutableStack.tap(Procedure<? super T> procedure) |
|
MutableStack<T> |
StackIterable.toStack() |
Converts the stack to a MutableStack implementation.
|
<S> MutableStack<Pair<T,S>> |
MutableStack.zip(Iterable<S> that) |
|
MutableStack<Pair<T,Integer>> |
MutableStack.zipWithIndex() |
Modifier and Type | Method | Description |
---|---|---|
<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) |
Modifier and Type | Method | Description |
---|---|---|
MutableStack<T> |
SynchronizedSortedBag.toStack() |
|
MutableStack<T> |
TreeBag.toStack() |
|
MutableStack<T> |
UnmodifiableSortedBag.toStack() |
Modifier and Type | Method | Description |
---|---|---|
static <T> Collector<T,?,MutableStack<T>> |
Collectors2.toStack() |
Returns the elements as a MutableStack.
|
Modifier and Type | Method | Description |
---|---|---|
MutableStack<T> |
AbstractLazyIterable.toStack() |
Modifier and Type | Method | Description |
---|---|---|
MutableStack<T> |
AbstractListAdapter.toStack() |
|
MutableStack<T> |
AbstractMutableList.toStack() |
|
MutableStack<T> |
ListAdapter.toStack() |
|
MutableStack<T> |
MultiReaderFastList.toStack() |
|
MutableStack<T> |
SynchronizedMutableList.toStack() |
|
MutableStack<T> |
UnmodifiableMutableList.toStack() |
Modifier and Type | Method | Description |
---|---|---|
MutableStack<V> |
AbstractImmutableSortedMap.toStack() |
Modifier and Type | Method | Description |
---|---|---|
MutableStack<V> |
AbstractMutableSortedMap.toStack() |
|
MutableStack<V> |
SynchronizedSortedMap.toStack() |
|
MutableStack<V> |
UnmodifiableTreeMap.toStack() |
Modifier and Type | Method | Description |
---|---|---|
MutableStack<T> |
PartitionArrayStack.getRejected() |
|
MutableStack<T> |
PartitionArrayStack.getSelected() |
Modifier and Type | Method | Description |
---|---|---|
MutableStack<T> |
SortedSetAdapter.toStack() |
|
MutableStack<T> |
SynchronizedSortedSet.toStack() |
|
MutableStack<T> |
TreeSortedSet.toStack() |
|
MutableStack<T> |
UnmodifiableSortedSet.toStack() |
Modifier and Type | Class | Description |
---|---|---|
class |
ArrayStack<T> |
ArrayStack is a MutableStack which contains a FastList of data.
|
class |
SynchronizedStack<T> |
A synchronized view of a
MutableStack . |
class |
UnmodifiableStack<T> |
Modifier and Type | Method | Description |
---|---|---|
static <T,S extends MutableStack<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.of(S stack) |
|
<R extends MutableStack<T>> |
ArrayStack.pop(int count,
R targetStack) |
|
<R extends MutableStack<T>> |
SynchronizedStack.pop(int count,
R targetStack) |
|
<R extends MutableStack<T>> |
UnmodifiableStack.pop(int count,
R targetStack) |
Modifier and Type | Method | Description |
---|---|---|
MutableStack<T> |
ArrayStack.asSynchronized() |
|
MutableStack<T> |
SynchronizedStack.asSynchronized() |
|
MutableStack<T> |
UnmodifiableStack.asSynchronized() |
|
MutableStack<T> |
ArrayStack.asUnmodifiable() |
|
MutableStack<T> |
SynchronizedStack.asUnmodifiable() |
|
MutableStack<T> |
UnmodifiableStack.asUnmodifiable() |
|
<V> MutableStack<V> |
SynchronizedStack.collect(Function<? super T,? extends V> function) |
|
<V> MutableStack<V> |
UnmodifiableStack.collect(Function<? super T,? extends V> function) |
|
<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> |
ArrayStack.collectWithIndex(ObjectIntToObjectFunction<? super T,? extends V> function) |
|
<V> MutableStack<V> |
SynchronizedStack.collectWithIndex(ObjectIntToObjectFunction<? super T,? extends V> function) |
|
<V> MutableStack<V> |
UnmodifiableStack.collectWithIndex(ObjectIntToObjectFunction<? super T,? extends V> function) |
|
MutableStack<T> |
ArrayStack.distinct() |
|
MutableStack<T> |
SynchronizedStack.distinct() |
|
MutableStack<T> |
UnmodifiableStack.distinct() |
|
MutableStack<T> |
ArrayStack.dropWhile(Predicate<? super T> predicate) |
|
MutableStack<T> |
SynchronizedStack.dropWhile(Predicate<? super T> predicate) |
|
MutableStack<T> |
UnmodifiableStack.dropWhile(Predicate<? super T> predicate) |
|
<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.of() |
|
<T> MutableStack<T> |
MutableStackFactoryImpl.of(T... elements) |
|
<T> MutableStack<T> |
MutableStackFactoryImpl.ofAll(Iterable<? extends T> elements) |
|
<T> MutableStack<T> |
MutableStackFactoryImpl.ofAllReversed(Iterable<? extends T> items) |
|
<T> MutableStack<T> |
MutableStackFactoryImpl.ofReversed(T... elements) |
|
MutableStack<T> |
SynchronizedStack.reject(Predicate<? super T> predicate) |
|
MutableStack<T> |
UnmodifiableStack.reject(Predicate<? super T> predicate) |
|
<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) |
|
MutableStack<T> |
SynchronizedStack.select(Predicate<? super T> predicate) |
|
MutableStack<T> |
UnmodifiableStack.select(Predicate<? super T> predicate) |
|
<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) |
|
MutableStack<T> |
ArrayStack.takeWhile(Predicate<? super T> predicate) |
|
MutableStack<T> |
SynchronizedStack.takeWhile(Predicate<? super T> predicate) |
|
MutableStack<T> |
UnmodifiableStack.takeWhile(Predicate<? super T> predicate) |
|
MutableStack<T> |
SynchronizedStack.tap(Procedure<? super T> procedure) |
|
MutableStack<T> |
UnmodifiableStack.tap(Procedure<? super T> procedure) |
|
MutableStack<T> |
ArrayStack.toStack() |
|
MutableStack<T> |
SynchronizedStack.toStack() |
|
MutableStack<T> |
UnmodifiableStack.toStack() |
|
<T> MutableStack<T> |
MutableStackFactoryImpl.with() |
|
<T> MutableStack<T> |
MutableStackFactoryImpl.with(T... elements) |
|
<T> MutableStack<T> |
MutableStackFactoryImpl.withAll(Iterable<? extends T> elements) |
|
<T> MutableStack<T> |
MutableStackFactoryImpl.withAllReversed(Iterable<? extends T> items) |
|
<T> MutableStack<T> |
MutableStackFactoryImpl.withReversed(T... elements) |
|
<S> MutableStack<Pair<T,S>> |
SynchronizedStack.zip(Iterable<S> that) |
|
<S> MutableStack<Pair<T,S>> |
UnmodifiableStack.zip(Iterable<S> that) |
|
MutableStack<Pair<T,Integer>> |
SynchronizedStack.zipWithIndex() |
|
MutableStack<Pair<T,Integer>> |
UnmodifiableStack.zipWithIndex() |
Constructor | Description |
---|---|
SynchronizedStack(MutableStack<T> newStack) |
|
SynchronizedStack(MutableStack<T> newStack,
Object newLock) |
Modifier and Type | Method | Description |
---|---|---|
<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) |
Copyright © 2004–2017. All rights reserved.