Class CollectCharToCharIterable
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.primitive.AbstractLazyCharIterable
-
- org.eclipse.collections.impl.lazy.primitive.CollectCharToCharIterable
-
- All Implemented Interfaces:
CharIterable
,LazyCharIterable
,PrimitiveIterable
public class CollectCharToCharIterable extends AbstractLazyCharIterable
This file was automatically generated from template file collectPrimitiveToPrimitiveIterable.stg.
-
-
Field Summary
Fields Modifier and Type Field Description private CharToCharFunction
function
private CharIterable
iterable
-
Constructor Summary
Constructors Constructor Description CollectCharToCharIterable(CharIterable iterable, CharToCharFunction function)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CharIterator
charIterator()
Returns a primitive iterator that can be used to iterate over the CharIterable in an imperative style.void
each(CharProcedure procedure)
A synonym for forEach.boolean
isEmpty()
Returns true if this iterable has zero items.boolean
notEmpty()
The English equivalent of !this.isEmpty()int
size()
Returns the number of items in this iterable.-
Methods inherited from class org.eclipse.collections.impl.lazy.primitive.AbstractLazyCharIterable
allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, average, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, flatCollect, injectInto, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, reject, select, sum, tap, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, 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
-
-
-
-
Field Detail
-
iterable
private final CharIterable iterable
-
function
private final CharToCharFunction function
-
-
Constructor Detail
-
CollectCharToCharIterable
public CollectCharToCharIterable(CharIterable iterable, CharToCharFunction function)
-
-
Method Detail
-
each
public void each(CharProcedure procedure)
Description copied from interface:CharIterable
A synonym for forEach.
-
charIterator
public CharIterator charIterator()
Description copied from interface:CharIterable
Returns a primitive iterator that can be used to iterate over the CharIterable in an imperative style.
-
size
public int size()
Description copied from interface:PrimitiveIterable
Returns the number of items in this iterable.- Specified by:
size
in interfacePrimitiveIterable
- Overrides:
size
in classAbstractLazyCharIterable
-
isEmpty
public boolean isEmpty()
Description copied from interface:PrimitiveIterable
Returns true if this iterable has zero items.- Specified by:
isEmpty
in interfacePrimitiveIterable
- Overrides:
isEmpty
in classAbstractLazyCharIterable
-
notEmpty
public boolean notEmpty()
Description copied from interface:PrimitiveIterable
The English equivalent of !this.isEmpty()- Specified by:
notEmpty
in interfacePrimitiveIterable
- Overrides:
notEmpty
in classAbstractLazyCharIterable
-
-