public interface ImmutableByteStack extends ByteStack
| Modifier and Type | Method and Description |
|---|---|
<V> ImmutableStack<V> |
collect(ByteToObjectFunction<? extends V> function)
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
default <V> ImmutableStack<V> |
collectWithIndex(ByteIntToObjectFunction<? extends V> function)
Returns a new ImmutableStack using results obtained by applying the specified function to each element
and its corresponding index.
|
ImmutableByteStack |
pop() |
ImmutableByteStack |
pop(int count) |
ImmutableByteStack |
push(byte item) |
ImmutableByteStack |
reject(BytePredicate predicate)
Returns a new ByteIterable with all of the elements in the ByteIterable that
return false for the specified predicate.
|
default ImmutableByteStack |
rejectWithIndex(ByteIntPredicate predicate)
Returns a new ImmutableByteStack excluding all elements with corresponding indexes matching the specified predicate.
|
ImmutableByteStack |
select(BytePredicate predicate)
Returns a new ByteIterable with all of the elements in the ByteIterable that
return true for the specified predicate.
|
default ImmutableByteStack |
selectWithIndex(ByteIntPredicate predicate)
Returns a new ImmutableByteStack including all elements with corresponding indexes matching the specified predicate.
|
default ImmutableByteStack |
tap(ByteProcedure procedure) |
equals, hashCode, peek, peek, peekAt, toImmutablecollectWithIndex, forEachWithIndex, getFirst, indexOf, injectIntoWithIndex, rejectWithIndex, selectWithIndexallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, byteIterator, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, flatCollect, forEach, injectInto, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toSortedList, toSortedListBy, toSortedListByappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringdefault ImmutableByteStack tap(ByteProcedure procedure)
tap in interface ByteIterabletap in interface ByteStackImmutableByteStack push(byte item)
ImmutableByteStack pop()
ImmutableByteStack pop(int count)
ImmutableByteStack select(BytePredicate predicate)
ByteIterableselect in interface ByteIterableselect in interface ByteStackselect in interface OrderedByteIterableImmutableByteStack reject(BytePredicate predicate)
ByteIterablereject in interface ByteIterablereject in interface ByteStackreject in interface OrderedByteIterable<V> ImmutableStack<V> collect(ByteToObjectFunction<? extends V> function)
ByteIterablecollect in interface ByteIterablecollect in interface ByteStackcollect in interface OrderedByteIterabledefault ImmutableByteStack selectWithIndex(ByteIntPredicate predicate)
selectWithIndex in interface ByteStackselectWithIndex in interface OrderedByteIterabledefault ImmutableByteStack rejectWithIndex(ByteIntPredicate predicate)
rejectWithIndex in interface ByteStackrejectWithIndex in interface OrderedByteIterabledefault <V> ImmutableStack<V> collectWithIndex(ByteIntToObjectFunction<? extends V> function)
collectWithIndex in interface ByteStackcollectWithIndex in interface OrderedByteIterableCopyright © 2004–2022. All rights reserved.