public abstract class AbstractIntStack extends Object implements IntStack
| Constructor and Description |
|---|
AbstractIntStack() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allSatisfy(IntPredicate predicate) |
boolean |
anySatisfy(IntPredicate predicate) |
void |
appendString(Appendable appendable) |
void |
appendString(Appendable appendable,
String separator) |
void |
appendString(Appendable appendable,
String start,
String separator,
String end) |
LazyIntIterable |
asLazy() |
double |
average() |
RichIterable<IntIterable> |
chunk(int size) |
boolean |
contains(int value) |
boolean |
containsAll(int... source) |
boolean |
containsAll(IntIterable source) |
int |
count(IntPredicate predicate) |
int |
detectIfNone(IntPredicate predicate,
int ifNone) |
void |
each(IntProcedure procedure) |
boolean |
equals(Object otherStack) |
void |
forEachWithIndex(IntIntProcedure procedure) |
int |
getFirst() |
int |
hashCode() |
int |
indexOf(int value) |
<V> V |
injectInto(V injectedValue,
ObjectIntToObjectFunction<? super V,? extends V> function) |
<T> T |
injectIntoWithIndex(T injectedValue,
ObjectIntIntToObjectFunction<? super T,? extends T> function) |
IntIterator |
intIterator() |
String |
makeString() |
String |
makeString(String separator) |
String |
makeString(String start,
String separator,
String end) |
int |
max() |
int |
maxIfEmpty(int defaultValue) |
double |
median() |
int |
min() |
int |
minIfEmpty(int defaultValue) |
boolean |
noneSatisfy(IntPredicate predicate) |
int |
peek() |
IntList |
peek(int count) |
int |
peekAt(int index) |
int |
size() |
long |
sum() |
int[] |
toArray() |
int[] |
toArray(int[] target) |
MutableIntBag |
toBag() |
MutableIntList |
toList() |
MutableIntSet |
toSet() |
int[] |
toSortedArray() |
String |
toString() |
collect, collectWithIndex, reject, rejectWithIndex, select, selectWithIndex, tap, toImmutablecollectWithIndex, rejectWithIndex, selectWithIndexaverageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAny, containsAny, containsNone, containsNone, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, medianIfEmpty, reduce, reduceIfEmpty, reject, select, summaryStatistics, toSortedList, toSortedList, toSortedListBy, toSortedListByisEmpty, notEmptypublic IntIterator intIterator()
intIterator in interface IntIterablepublic void each(IntProcedure procedure)
each in interface IntIterablepublic int count(IntPredicate predicate)
count in interface IntIterablepublic boolean anySatisfy(IntPredicate predicate)
anySatisfy in interface IntIterablepublic boolean allSatisfy(IntPredicate predicate)
allSatisfy in interface IntIterablepublic boolean noneSatisfy(IntPredicate predicate)
noneSatisfy in interface IntIterablepublic int detectIfNone(IntPredicate predicate, int ifNone)
detectIfNone in interface IntIterablepublic int[] toArray()
toArray in interface IntIterablepublic int[] toArray(int[] target)
toArray in interface IntIterablepublic boolean contains(int value)
contains in interface IntIterablepublic boolean containsAll(int... source)
containsAll in interface IntIterablepublic boolean containsAll(IntIterable source)
containsAll in interface IntIterablepublic MutableIntList toList()
toList in interface IntIterablepublic MutableIntSet toSet()
toSet in interface IntIterablepublic MutableIntBag toBag()
toBag in interface IntIterablepublic <V> V injectInto(V injectedValue,
ObjectIntToObjectFunction<? super V,? extends V> function)
injectInto in interface IntIterablepublic LazyIntIterable asLazy()
asLazy in interface IntIterablepublic int size()
size in interface PrimitiveIterablepublic boolean equals(Object otherStack)
public int hashCode()
public String toString()
toString in interface PrimitiveIterabletoString in class Objectpublic String makeString()
makeString in interface PrimitiveIterablepublic String makeString(String separator)
makeString in interface PrimitiveIterablepublic String makeString(String start, String separator, String end)
makeString in interface PrimitiveIterablepublic void appendString(Appendable appendable)
appendString in interface PrimitiveIterablepublic void appendString(Appendable appendable, String separator)
appendString in interface PrimitiveIterablepublic void appendString(Appendable appendable, String start, String separator, String end)
appendString in interface PrimitiveIterablepublic int getFirst()
getFirst in interface OrderedIntIterablepublic int indexOf(int value)
indexOf in interface OrderedIntIterablepublic <T> T injectIntoWithIndex(T injectedValue,
ObjectIntIntToObjectFunction<? super T,? extends T> function)
injectIntoWithIndex in interface OrderedIntIterablepublic void forEachWithIndex(IntIntProcedure procedure)
forEachWithIndex in interface OrderedIntIterablepublic RichIterable<IntIterable> chunk(int size)
chunk in interface IntIterablepublic long sum()
sum in interface IntIterablepublic int max()
max in interface IntIterablepublic int min()
min in interface IntIterablepublic int minIfEmpty(int defaultValue)
minIfEmpty in interface IntIterablepublic int maxIfEmpty(int defaultValue)
maxIfEmpty in interface IntIterablepublic double average()
average in interface IntIterablepublic double median()
median in interface IntIterablepublic int[] toSortedArray()
toSortedArray in interface IntIterableCopyright © 2004–2022. All rights reserved.