LongIterable
, LongStack
, OrderedLongIterable
, PrimitiveIterable
public interface ImmutableLongStack extends LongStack
Modifier and Type | Method | Description |
---|---|---|
<V> ImmutableStack<V> |
collect(LongToObjectFunction<? extends V> function) |
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
ImmutableLongStack |
pop() |
|
ImmutableLongStack |
pop(int count) |
|
ImmutableLongStack |
push(long item) |
|
ImmutableLongStack |
reject(LongPredicate predicate) |
Returns a new LongIterable with all of the elements in the LongIterable that
return false for the specified predicate.
|
ImmutableLongStack |
select(LongPredicate predicate) |
Returns a new LongIterable with all of the elements in the LongIterable that
return true for the specified predicate.
|
allSatisfy, anySatisfy, asLazy, average, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, longIterator, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
equals, hashCode, peek, peek, peekAt, toImmutable
forEachWithIndex, getFirst, indexOf, injectIntoWithIndex
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
ImmutableLongStack push(long item)
ImmutableLongStack pop()
ImmutableLongStack pop(int count)
ImmutableLongStack select(LongPredicate predicate)
LongIterable
select
in interface LongIterable
select
in interface LongStack
select
in interface OrderedLongIterable
ImmutableLongStack reject(LongPredicate predicate)
LongIterable
reject
in interface LongIterable
reject
in interface LongStack
reject
in interface OrderedLongIterable
<V> ImmutableStack<V> collect(LongToObjectFunction<? extends V> function)
LongIterable
collect
in interface LongIterable
collect
in interface LongStack
collect
in interface OrderedLongIterable
Copyright © 2004–2017. All rights reserved.