Modifier and Type | Method | Description |
---|---|---|
<T> MutableStack<T> |
MutableStackFactory.empty() |
|
<T> MutableStack<T> |
MutableStackFactory.fromStream(java.util.stream.Stream<? extends T> stream) |
|
default <T> MutableStack<T> |
MutableStackFactory.of() |
Same as
MutableStackFactory.empty() . |
default <T> MutableStack<T> |
MutableStackFactory.of(T... elements) |
Same as
MutableStackFactory.with(Object[]) . |
default <T> MutableStack<T> |
MutableStackFactory.ofAll(java.lang.Iterable<? extends T> elements) |
|
default <T> MutableStack<T> |
MutableStackFactory.ofAllReversed(java.lang.Iterable<? extends T> items) |
|
default <T> MutableStack<T> |
MutableStackFactory.ofReversed(T... elements) |
|
default <T> MutableStack<T> |
MutableStackFactory.with() |
Same as
MutableStackFactory.empty() . |
<T> MutableStack<T> |
MutableStackFactory.with(T... elements) |
|
<T> MutableStack<T> |
MutableStackFactory.withAll(java.lang.Iterable<? extends T> elements) |
|
<T> MutableStack<T> |
MutableStackFactory.withAllReversed(java.lang.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) |
|
default <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 java.lang.Iterable<V>> function) |
|
default <P,V> MutableStack<V> |
MutableStack.flatCollectWith(Function2<? super T,? super P,? extends java.lang.Iterable<V>> function,
P parameter) |
|
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(java.lang.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(java.lang.Iterable<S> that) |
|
MutableStack<Pair<T,java.lang.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) |
|
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.
|
Modifier and Type | Method | Description |
---|---|---|
MutableStack<T> |
SynchronizedSortedBag.toStack() |
|
MutableStack<T> |
TreeBag.toStack() |
|
MutableStack<T> |
UnmodifiableSortedBag.toStack() |
Modifier and Type | Method | Description |
---|---|---|
static <T> java.util.stream.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> |
OrderedMapAdapter.toStack() |
|
MutableStack<V> |
UnmodifiableMutableOrderedMap.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> |
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 java.lang.Iterable<V>> function) |
|
<V> MutableStack<V> |
UnmodifiableStack.flatCollect(Function<? super T,? extends java.lang.Iterable<V>> function) |
|
<T> MutableStack<T> |
MutableStackFactoryImpl.fromStream(java.util.stream.Stream<? extends T> stream) |
|
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(java.lang.Class<S> clazz) |
|
<S> MutableStack<S> |
UnmodifiableStack.selectInstancesOf(java.lang.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... elements) |
|
<T> MutableStack<T> |
MutableStackFactoryImpl.withAll(java.lang.Iterable<? extends T> elements) |
|
<T> MutableStack<T> |
MutableStackFactoryImpl.withAllReversed(java.lang.Iterable<? extends T> items) |
|
<T> MutableStack<T> |
MutableStackFactoryImpl.withReversed(T... elements) |
|
<S> MutableStack<Pair<T,S>> |
SynchronizedStack.zip(java.lang.Iterable<S> that) |
|
<S> MutableStack<Pair<T,S>> |
UnmodifiableStack.zip(java.lang.Iterable<S> that) |
|
MutableStack<Pair<T,java.lang.Integer>> |
SynchronizedStack.zipWithIndex() |
|
MutableStack<Pair<T,java.lang.Integer>> |
UnmodifiableStack.zipWithIndex() |
Constructor | Description |
---|---|
SynchronizedStack(MutableStack<T> newStack) |
|
SynchronizedStack(MutableStack<T> newStack,
java.lang.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) |
|
<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.
|
Copyright © 2004–2020. All rights reserved.