public abstract class AbstractCharStack extends Object implements CharStack
| Constructor and Description |
|---|
AbstractCharStack() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allSatisfy(CharPredicate predicate) |
boolean |
anySatisfy(CharPredicate predicate) |
void |
appendString(Appendable appendable) |
void |
appendString(Appendable appendable,
String separator) |
void |
appendString(Appendable appendable,
String start,
String separator,
String end) |
LazyCharIterable |
asLazy() |
double |
average() |
CharIterator |
charIterator() |
RichIterable<CharIterable> |
chunk(int size) |
boolean |
contains(char value) |
boolean |
containsAll(char... source) |
boolean |
containsAll(CharIterable source) |
int |
count(CharPredicate predicate) |
char |
detectIfNone(CharPredicate predicate,
char ifNone) |
void |
each(CharProcedure procedure) |
boolean |
equals(Object otherStack) |
void |
forEachWithIndex(CharIntProcedure procedure) |
char |
getFirst() |
int |
hashCode() |
int |
indexOf(char value) |
<V> V |
injectInto(V injectedValue,
ObjectCharToObjectFunction<? super V,? extends V> function) |
<T> T |
injectIntoWithIndex(T injectedValue,
ObjectCharIntToObjectFunction<? super T,? extends T> function) |
String |
makeString() |
String |
makeString(String separator) |
String |
makeString(String start,
String separator,
String end) |
char |
max() |
char |
maxIfEmpty(char defaultValue) |
double |
median() |
char |
min() |
char |
minIfEmpty(char defaultValue) |
boolean |
noneSatisfy(CharPredicate predicate) |
char |
peek() |
CharList |
peek(int count) |
char |
peekAt(int index) |
int |
size() |
long |
sum() |
char[] |
toArray() |
char[] |
toArray(char[] target) |
MutableCharBag |
toBag() |
MutableCharList |
toList() |
MutableCharSet |
toSet() |
char[] |
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 CharIterator charIterator()
charIterator in interface CharIterablepublic void each(CharProcedure procedure)
each in interface CharIterablepublic int count(CharPredicate predicate)
count in interface CharIterablepublic boolean anySatisfy(CharPredicate predicate)
anySatisfy in interface CharIterablepublic boolean allSatisfy(CharPredicate predicate)
allSatisfy in interface CharIterablepublic boolean noneSatisfy(CharPredicate predicate)
noneSatisfy in interface CharIterablepublic char detectIfNone(CharPredicate predicate, char ifNone)
detectIfNone in interface CharIterablepublic char[] toArray()
toArray in interface CharIterablepublic char[] toArray(char[] target)
toArray in interface CharIterablepublic boolean contains(char value)
contains in interface CharIterablepublic boolean containsAll(char... source)
containsAll in interface CharIterablepublic boolean containsAll(CharIterable source)
containsAll in interface CharIterablepublic MutableCharList toList()
toList in interface CharIterablepublic MutableCharSet toSet()
toSet in interface CharIterablepublic MutableCharBag toBag()
toBag in interface CharIterablepublic <V> V injectInto(V injectedValue,
ObjectCharToObjectFunction<? super V,? extends V> function)
injectInto in interface CharIterablepublic LazyCharIterable asLazy()
asLazy in interface CharIterablepublic 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 char getFirst()
getFirst in interface OrderedCharIterablepublic int indexOf(char value)
indexOf in interface OrderedCharIterablepublic <T> T injectIntoWithIndex(T injectedValue,
ObjectCharIntToObjectFunction<? super T,? extends T> function)
injectIntoWithIndex in interface OrderedCharIterablepublic void forEachWithIndex(CharIntProcedure procedure)
forEachWithIndex in interface OrderedCharIterablepublic RichIterable<CharIterable> chunk(int size)
chunk in interface CharIterablepublic long sum()
sum in interface CharIterablepublic char max()
max in interface CharIterablepublic char min()
min in interface CharIterablepublic char minIfEmpty(char defaultValue)
minIfEmpty in interface CharIterablepublic char maxIfEmpty(char defaultValue)
maxIfEmpty in interface CharIterablepublic double average()
average in interface CharIterablepublic double median()
median in interface CharIterablepublic char[] toSortedArray()
toSortedArray in interface CharIterableCopyright © 2004–2022. All rights reserved.