Package | Description |
---|---|
org.eclipse.collections.api.factory.stack |
This package contains Factory API for
ImmutableStack and MutableStack . |
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.partition.stack |
This package contains implementations of the
PartitionStack interface. |
org.eclipse.collections.impl.stack.immutable |
This package contains implementations of the
ImmutableStack interface. |
org.eclipse.collections.impl.stack.mutable |
This package contains implementations of the
MutableStack interface. |
Modifier and Type | Method and Description |
---|---|
<T> ImmutableStack<T> |
ImmutableStackFactory.empty() |
<T> ImmutableStack<T> |
ImmutableStackFactory.of()
Same as
ImmutableStackFactory.empty() . |
<T> ImmutableStack<T> |
ImmutableStackFactory.of(T... elements)
Same as
ImmutableStackFactory.with(Object[]) . |
<T> ImmutableStack<T> |
ImmutableStackFactory.of(T element)
Same as
ImmutableStackFactory.with(Object) . |
<T> ImmutableStack<T> |
ImmutableStackFactory.ofAll(Iterable<? extends T> items)
|
<T> ImmutableStack<T> |
ImmutableStackFactory.ofAllReversed(Iterable<? extends T> items)
|
<T> ImmutableStack<T> |
ImmutableStackFactory.ofReversed(T... elements)
|
<T> ImmutableStack<T> |
ImmutableStackFactory.with()
Same as
ImmutableStackFactory.empty() . |
<T> ImmutableStack<T> |
ImmutableStackFactory.with(T... elements) |
<T> ImmutableStack<T> |
ImmutableStackFactory.with(T element) |
<T> ImmutableStack<T> |
ImmutableStackFactory.withAll(Iterable<? extends T> items) |
<T> ImmutableStack<T> |
ImmutableStackFactory.withAllReversed(Iterable<? extends T> items) |
<T> ImmutableStack<T> |
ImmutableStackFactory.withReversed(T... elements) |
Modifier and Type | Method and Description |
---|---|
ImmutableStack<T> |
PartitionImmutableStack.getRejected() |
ImmutableStack<T> |
PartitionImmutableStack.getSelected() |
Modifier and Type | Method and Description |
---|---|
<V> ImmutableStack<V> |
ImmutableStack.collect(Function<? super T,? extends V> function) |
<V> ImmutableStack<V> |
ImmutableStack.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
<P,V> ImmutableStack<V> |
ImmutableStack.collectWith(Function2<? super T,? super P,? extends V> function,
P parameter) |
<V> ImmutableStack<V> |
ImmutableStack.flatCollect(Function<? super T,? extends Iterable<V>> function) |
ImmutableStack<T> |
ImmutableStack.pop() |
ImmutableStack<T> |
ImmutableStack.pop(int count) |
ImmutableStack<T> |
ImmutableStack.push(T item) |
ImmutableStack<T> |
ImmutableStack.reject(Predicate<? super T> predicate) |
<P> ImmutableStack<T> |
ImmutableStack.rejectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
ImmutableStack<T> |
ImmutableStack.select(Predicate<? super T> predicate) |
<P> ImmutableStack<T> |
ImmutableStack.selectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
ImmutableStack<T> |
ImmutableStack.tap(Procedure<? super T> procedure) |
ImmutableStack<T> |
StackIterable.toImmutable()
Converts the StackIterable to an immutable implementation.
|
<S> ImmutableStack<Pair<T,S>> |
ImmutableStack.zip(Iterable<S> that) |
ImmutableStack<Pair<T,Integer>> |
ImmutableStack.zipWithIndex() |
Modifier and Type | Method and Description |
---|---|
<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) |
Modifier and Type | Method and Description |
---|---|
ImmutableStack<T> |
PartitionImmutableStackImpl.getRejected() |
ImmutableStack<T> |
PartitionImmutableStackImpl.getSelected() |
Modifier and Type | Method and Description |
---|---|
<T> ImmutableStack<T> |
ImmutableStackFactoryImpl.empty() |
<T> ImmutableStack<T> |
ImmutableStackFactoryImpl.of() |
<T> ImmutableStack<T> |
ImmutableStackFactoryImpl.of(T... elements) |
<T> ImmutableStack<T> |
ImmutableStackFactoryImpl.of(T element) |
<T> ImmutableStack<T> |
ImmutableStackFactoryImpl.ofAll(Iterable<? extends T> items) |
<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... elements) |
<T> ImmutableStack<T> |
ImmutableStackFactoryImpl.with(T element) |
<T> ImmutableStack<T> |
ImmutableStackFactoryImpl.withAll(Iterable<? extends T> items) |
<T> ImmutableStack<T> |
ImmutableStackFactoryImpl.withAllReversed(Iterable<? extends T> items) |
<T> ImmutableStack<T> |
ImmutableStackFactoryImpl.withReversed(T... elements) |
Modifier and Type | Method and Description |
---|---|
ImmutableStack<T> |
ArrayStack.toImmutable() |
ImmutableStack<T> |
SynchronizedStack.toImmutable() |
ImmutableStack<T> |
UnmodifiableStack.toImmutable() |
Copyright © 2004–2016. All rights reserved.