@NotThreadSafe public final class UnmodifiableByteStack extends Object implements org.eclipse.collections.api.stack.primitive.MutableByteStack, Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
allSatisfy(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate) |
boolean |
anySatisfy(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate) |
void |
appendString(Appendable appendable) |
void |
appendString(Appendable appendable,
String separator) |
void |
appendString(Appendable appendable,
String start,
String separator,
String end) |
org.eclipse.collections.api.LazyByteIterable |
asLazy() |
org.eclipse.collections.api.stack.primitive.MutableByteStack |
asSynchronized() |
org.eclipse.collections.api.stack.primitive.MutableByteStack |
asUnmodifiable() |
double |
average() |
org.eclipse.collections.api.iterator.ByteIterator |
byteIterator() |
void |
clear() |
<V> org.eclipse.collections.api.stack.MutableStack<V> |
collect(org.eclipse.collections.api.block.function.primitive.ByteToObjectFunction<? extends V> function) |
boolean |
contains(byte value) |
boolean |
containsAll(byte... source) |
boolean |
containsAll(org.eclipse.collections.api.ByteIterable source) |
int |
count(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate) |
byte |
detectIfNone(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate,
byte ifNone) |
void |
each(org.eclipse.collections.api.block.procedure.primitive.ByteProcedure procedure) |
boolean |
equals(Object otherStack) |
void |
forEach(org.eclipse.collections.api.block.procedure.primitive.ByteProcedure procedure) |
int |
hashCode() |
<T> T |
injectInto(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectByteToObjectFunction<? super T,? extends T> function) |
boolean |
isEmpty() |
String |
makeString() |
String |
makeString(String separator) |
String |
makeString(String start,
String separator,
String end) |
byte |
max() |
byte |
maxIfEmpty(byte defaultValue) |
double |
median() |
byte |
min() |
byte |
minIfEmpty(byte defaultValue) |
boolean |
noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate) |
boolean |
notEmpty() |
byte |
peek() |
org.eclipse.collections.api.list.primitive.ByteList |
peek(int count) |
byte |
peekAt(int index) |
byte |
pop() |
org.eclipse.collections.api.list.primitive.ByteList |
pop(int count) |
void |
push(byte item) |
org.eclipse.collections.api.stack.primitive.MutableByteStack |
reject(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate) |
org.eclipse.collections.api.stack.primitive.MutableByteStack |
select(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate) |
int |
size() |
long |
sum() |
byte[] |
toArray() |
org.eclipse.collections.api.bag.primitive.MutableByteBag |
toBag() |
org.eclipse.collections.api.stack.primitive.ImmutableByteStack |
toImmutable() |
org.eclipse.collections.api.list.primitive.MutableByteList |
toList() |
org.eclipse.collections.api.set.primitive.MutableByteSet |
toSet() |
byte[] |
toSortedArray() |
org.eclipse.collections.api.list.primitive.MutableByteList |
toSortedList() |
String |
toString() |
public void push(byte item)
push in interface org.eclipse.collections.api.stack.primitive.MutableByteStackpublic byte pop()
pop in interface org.eclipse.collections.api.stack.primitive.MutableByteStackpublic org.eclipse.collections.api.list.primitive.ByteList pop(int count)
pop in interface org.eclipse.collections.api.stack.primitive.MutableByteStackpublic byte peek()
peek in interface org.eclipse.collections.api.stack.primitive.ByteStackpublic org.eclipse.collections.api.list.primitive.ByteList peek(int count)
peek in interface org.eclipse.collections.api.stack.primitive.ByteStackpublic byte peekAt(int index)
peekAt in interface org.eclipse.collections.api.stack.primitive.ByteStackpublic int size()
size in interface org.eclipse.collections.api.PrimitiveIterablepublic boolean isEmpty()
isEmpty in interface org.eclipse.collections.api.PrimitiveIterablepublic boolean notEmpty()
notEmpty in interface org.eclipse.collections.api.PrimitiveIterablepublic void clear()
clear in interface org.eclipse.collections.api.stack.primitive.MutableByteStackpublic boolean contains(byte value)
contains in interface org.eclipse.collections.api.ByteIterablepublic boolean containsAll(byte... source)
containsAll in interface org.eclipse.collections.api.ByteIterablepublic boolean containsAll(org.eclipse.collections.api.ByteIterable source)
containsAll in interface org.eclipse.collections.api.ByteIterablepublic org.eclipse.collections.api.iterator.ByteIterator byteIterator()
byteIterator in interface org.eclipse.collections.api.ByteIterablepublic void forEach(org.eclipse.collections.api.block.procedure.primitive.ByteProcedure procedure)
forEach in interface org.eclipse.collections.api.ByteIterablepublic void each(org.eclipse.collections.api.block.procedure.primitive.ByteProcedure procedure)
each in interface org.eclipse.collections.api.ByteIterablepublic int count(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate)
count in interface org.eclipse.collections.api.ByteIterablepublic boolean anySatisfy(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate)
anySatisfy in interface org.eclipse.collections.api.ByteIterablepublic boolean allSatisfy(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate)
allSatisfy in interface org.eclipse.collections.api.ByteIterablepublic boolean noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate)
noneSatisfy in interface org.eclipse.collections.api.ByteIterablepublic byte detectIfNone(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate,
byte ifNone)
detectIfNone in interface org.eclipse.collections.api.ByteIterablepublic org.eclipse.collections.api.stack.primitive.MutableByteStack select(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate)
select in interface org.eclipse.collections.api.ByteIterableselect in interface org.eclipse.collections.api.stack.primitive.ByteStackselect in interface org.eclipse.collections.api.stack.primitive.MutableByteStackpublic org.eclipse.collections.api.stack.primitive.MutableByteStack reject(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate)
reject in interface org.eclipse.collections.api.ByteIterablereject in interface org.eclipse.collections.api.stack.primitive.ByteStackreject in interface org.eclipse.collections.api.stack.primitive.MutableByteStackpublic <V> org.eclipse.collections.api.stack.MutableStack<V> collect(org.eclipse.collections.api.block.function.primitive.ByteToObjectFunction<? extends V> function)
collect in interface org.eclipse.collections.api.ByteIterablecollect in interface org.eclipse.collections.api.stack.primitive.ByteStackcollect in interface org.eclipse.collections.api.stack.primitive.MutableByteStackpublic long sum()
sum in interface org.eclipse.collections.api.ByteIterablepublic byte max()
max in interface org.eclipse.collections.api.ByteIterablepublic byte min()
min in interface org.eclipse.collections.api.ByteIterablepublic byte minIfEmpty(byte defaultValue)
minIfEmpty in interface org.eclipse.collections.api.ByteIterablepublic byte maxIfEmpty(byte defaultValue)
maxIfEmpty in interface org.eclipse.collections.api.ByteIterablepublic double average()
average in interface org.eclipse.collections.api.ByteIterablepublic double median()
median in interface org.eclipse.collections.api.ByteIterablepublic org.eclipse.collections.api.list.primitive.MutableByteList toSortedList()
toSortedList in interface org.eclipse.collections.api.ByteIterablepublic byte[] toSortedArray()
toSortedArray in interface org.eclipse.collections.api.ByteIterablepublic byte[] toArray()
toArray in interface org.eclipse.collections.api.ByteIterablepublic String toString()
public String makeString()
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic String makeString(String separator)
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic String makeString(String start, String separator, String end)
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable, String separator)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable, String start, String separator, String end)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic org.eclipse.collections.api.list.primitive.MutableByteList toList()
toList in interface org.eclipse.collections.api.ByteIterablepublic org.eclipse.collections.api.set.primitive.MutableByteSet toSet()
toSet in interface org.eclipse.collections.api.ByteIterablepublic org.eclipse.collections.api.bag.primitive.MutableByteBag toBag()
toBag in interface org.eclipse.collections.api.ByteIterablepublic boolean equals(Object otherStack)
public int hashCode()
public org.eclipse.collections.api.LazyByteIterable asLazy()
asLazy in interface org.eclipse.collections.api.ByteIterablepublic org.eclipse.collections.api.stack.primitive.MutableByteStack asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.stack.primitive.MutableByteStackpublic org.eclipse.collections.api.stack.primitive.MutableByteStack asSynchronized()
asSynchronized in interface org.eclipse.collections.api.stack.primitive.MutableByteStackpublic org.eclipse.collections.api.stack.primitive.ImmutableByteStack toImmutable()
toImmutable in interface org.eclipse.collections.api.stack.primitive.ByteStackpublic <T> T injectInto(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectByteToObjectFunction<? super T,? extends T> function)
injectInto in interface org.eclipse.collections.api.ByteIterableCopyright © 2004–2018. All rights reserved.