Class ReverseCharIterable
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.primitive.AbstractLazyCharIterable
-
- org.eclipse.collections.impl.lazy.primitive.ReverseCharIterable
-
- All Implemented Interfaces:
CharIterable
,LazyCharIterable
,PrimitiveIterable
public class ReverseCharIterable extends AbstractLazyCharIterable
This file was automatically generated from template file reversePrimitiveIterable.stg.- Since:
- 5.0.
- See Also:
ReverseIterable
-
-
Constructor Summary
Constructors Constructor Description ReverseCharIterable(CharList newAdapted)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReverseCharIterable
adapt(CharList charList)
LazyCharIterable
asLazy()
double
average()
CharIterator
charIterator()
boolean
contains(char value)
boolean
containsAll(char... source)
boolean
containsAll(CharIterable source)
void
each(CharProcedure procedure)
boolean
isEmpty()
char
max()
char
maxIfEmpty(char defaultValue)
double
median()
char
min()
char
minIfEmpty(char defaultValue)
boolean
notEmpty()
int
size()
long
sum()
char[]
toArray()
MutableCharBag
toBag()
MutableCharList
toList()
MutableCharSet
toSet()
char[]
toSortedArray()
-
Methods inherited from class org.eclipse.collections.impl.lazy.primitive.AbstractLazyCharIterable
allSatisfy, anySatisfy, appendString, appendString, appendString, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, count, detectIfNone, flatCollect, injectInto, makeString, makeString, makeString, noneSatisfy, reject, select, tap, toSortedList, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.collections.api.CharIterable
averageIfEmpty, 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, toArray, toSortedList, toSortedListBy, toSortedListBy
-
-
-
-
Constructor Detail
-
ReverseCharIterable
public ReverseCharIterable(CharList newAdapted)
-
-
Method Detail
-
adapt
public static ReverseCharIterable adapt(CharList charList)
-
charIterator
public CharIterator charIterator()
-
each
public void each(CharProcedure procedure)
- Since:
- 7.0.
-
sum
public long sum()
- Specified by:
sum
in interfaceCharIterable
- Overrides:
sum
in classAbstractLazyCharIterable
-
max
public char max()
- Specified by:
max
in interfaceCharIterable
- Overrides:
max
in classAbstractLazyCharIterable
-
min
public char min()
- Specified by:
min
in interfaceCharIterable
- Overrides:
min
in classAbstractLazyCharIterable
-
minIfEmpty
public char minIfEmpty(char defaultValue)
- Specified by:
minIfEmpty
in interfaceCharIterable
- Overrides:
minIfEmpty
in classAbstractLazyCharIterable
-
maxIfEmpty
public char maxIfEmpty(char defaultValue)
- Specified by:
maxIfEmpty
in interfaceCharIterable
- Overrides:
maxIfEmpty
in classAbstractLazyCharIterable
-
average
public double average()
- Specified by:
average
in interfaceCharIterable
- Overrides:
average
in classAbstractLazyCharIterable
-
median
public double median()
- Specified by:
median
in interfaceCharIterable
- Overrides:
median
in classAbstractLazyCharIterable
-
toSortedArray
public char[] toSortedArray()
- Specified by:
toSortedArray
in interfaceCharIterable
- Overrides:
toSortedArray
in classAbstractLazyCharIterable
-
toArray
public char[] toArray()
- Specified by:
toArray
in interfaceCharIterable
- Overrides:
toArray
in classAbstractLazyCharIterable
-
contains
public boolean contains(char value)
- Specified by:
contains
in interfaceCharIterable
- Overrides:
contains
in classAbstractLazyCharIterable
-
containsAll
public boolean containsAll(char... source)
- Specified by:
containsAll
in interfaceCharIterable
- Overrides:
containsAll
in classAbstractLazyCharIterable
-
containsAll
public boolean containsAll(CharIterable source)
- Specified by:
containsAll
in interfaceCharIterable
- Overrides:
containsAll
in classAbstractLazyCharIterable
-
size
public int size()
- Specified by:
size
in interfacePrimitiveIterable
- Overrides:
size
in classAbstractLazyCharIterable
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfacePrimitiveIterable
- Overrides:
isEmpty
in classAbstractLazyCharIterable
-
notEmpty
public boolean notEmpty()
- Specified by:
notEmpty
in interfacePrimitiveIterable
- Overrides:
notEmpty
in classAbstractLazyCharIterable
-
toList
public MutableCharList toList()
- Specified by:
toList
in interfaceCharIterable
- Overrides:
toList
in classAbstractLazyCharIterable
-
toSet
public MutableCharSet toSet()
- Specified by:
toSet
in interfaceCharIterable
- Overrides:
toSet
in classAbstractLazyCharIterable
-
toBag
public MutableCharBag toBag()
- Specified by:
toBag
in interfaceCharIterable
- Overrides:
toBag
in classAbstractLazyCharIterable
-
asLazy
public LazyCharIterable asLazy()
- Specified by:
asLazy
in interfaceCharIterable
- Overrides:
asLazy
in classAbstractLazyCharIterable
-
-