public class ReverseCharIterable extends AbstractLazyCharIterable
ReverseIterable| Constructor and Description |
|---|
ReverseCharIterable(com.gs.collections.api.list.primitive.CharList newAdapted) |
| Modifier and Type | Method and Description |
|---|---|
static ReverseCharIterable |
adapt(com.gs.collections.api.list.primitive.CharList charList) |
com.gs.collections.api.LazyCharIterable |
asLazy() |
double |
average() |
com.gs.collections.api.iterator.CharIterator |
charIterator() |
boolean |
contains(char value) |
boolean |
containsAll(char... source) |
boolean |
containsAll(com.gs.collections.api.CharIterable source) |
void |
each(com.gs.collections.api.block.procedure.primitive.CharProcedure procedure) |
boolean |
isEmpty()
Returns true if this iterable has zero items.
|
char |
max() |
char |
maxIfEmpty(char defaultValue) |
double |
median() |
char |
min() |
char |
minIfEmpty(char defaultValue) |
boolean |
notEmpty()
The English equivalent of !this.isEmpty()
|
int |
size()
Returns the number of items in this iterable.
|
long |
sum() |
char[] |
toArray() |
com.gs.collections.api.bag.primitive.MutableCharBag |
toBag() |
com.gs.collections.api.list.primitive.MutableCharList |
toList() |
com.gs.collections.api.set.primitive.MutableCharSet |
toSet() |
char[] |
toSortedArray() |
allSatisfy, anySatisfy, appendString, appendString, appendString, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, count, detectIfNone, forEach, injectInto, makeString, makeString, makeString, noneSatisfy, reject, select, toSortedList, toStringpublic ReverseCharIterable(com.gs.collections.api.list.primitive.CharList newAdapted)
public static ReverseCharIterable adapt(com.gs.collections.api.list.primitive.CharList charList)
public com.gs.collections.api.iterator.CharIterator charIterator()
public void each(com.gs.collections.api.block.procedure.primitive.CharProcedure procedure)
public long sum()
sum in interface com.gs.collections.api.CharIterablesum in class AbstractLazyCharIterablepublic char max()
max in interface com.gs.collections.api.CharIterablemax in class AbstractLazyCharIterablepublic char min()
min in interface com.gs.collections.api.CharIterablemin in class AbstractLazyCharIterablepublic char minIfEmpty(char defaultValue)
minIfEmpty in interface com.gs.collections.api.CharIterableminIfEmpty in class AbstractLazyCharIterablepublic char maxIfEmpty(char defaultValue)
maxIfEmpty in interface com.gs.collections.api.CharIterablemaxIfEmpty in class AbstractLazyCharIterablepublic double average()
average in interface com.gs.collections.api.CharIterableaverage in class AbstractLazyCharIterablepublic double median()
median in interface com.gs.collections.api.CharIterablemedian in class AbstractLazyCharIterablepublic char[] toSortedArray()
toSortedArray in interface com.gs.collections.api.CharIterabletoSortedArray in class AbstractLazyCharIterablepublic char[] toArray()
toArray in interface com.gs.collections.api.CharIterabletoArray in class AbstractLazyCharIterablepublic boolean contains(char value)
contains in interface com.gs.collections.api.CharIterablecontains in class AbstractLazyCharIterablepublic boolean containsAll(char... source)
containsAll in interface com.gs.collections.api.CharIterablecontainsAll in class AbstractLazyCharIterablepublic boolean containsAll(com.gs.collections.api.CharIterable source)
containsAll in interface com.gs.collections.api.CharIterablecontainsAll in class AbstractLazyCharIterablepublic int size()
com.gs.collections.api.PrimitiveIterablesize in interface com.gs.collections.api.PrimitiveIterablesize in class AbstractLazyCharIterablepublic boolean isEmpty()
com.gs.collections.api.PrimitiveIterableisEmpty in interface com.gs.collections.api.PrimitiveIterableisEmpty in class AbstractLazyCharIterablepublic boolean notEmpty()
com.gs.collections.api.PrimitiveIterablenotEmpty in interface com.gs.collections.api.PrimitiveIterablenotEmpty in class AbstractLazyCharIterablepublic com.gs.collections.api.list.primitive.MutableCharList toList()
toList in interface com.gs.collections.api.CharIterabletoList in class AbstractLazyCharIterablepublic com.gs.collections.api.set.primitive.MutableCharSet toSet()
toSet in interface com.gs.collections.api.CharIterabletoSet in class AbstractLazyCharIterablepublic com.gs.collections.api.bag.primitive.MutableCharBag toBag()
toBag in interface com.gs.collections.api.CharIterabletoBag in class AbstractLazyCharIterablepublic com.gs.collections.api.LazyCharIterable asLazy()
asLazy in interface com.gs.collections.api.CharIterableasLazy in class AbstractLazyCharIterable