Class TapCharIterable
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.primitive.AbstractLazyCharIterable
-
- org.eclipse.collections.impl.lazy.primitive.TapCharIterable
-
- All Implemented Interfaces:
CharIterable,LazyCharIterable,PrimitiveIterable
public class TapCharIterable extends AbstractLazyCharIterable
This file was automatically generated from template file tapPrimitiveIterable.stg.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTapCharIterable.TapCharIterator
-
Field Summary
Fields Modifier and Type Field Description private CharIterableadaptedprivate CharProcedureprocedure
-
Constructor Summary
Constructors Constructor Description TapCharIterable(CharIterable delegate, CharProcedure procedure)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallSatisfy(CharPredicate predicate)Returns true if all of the elements in the CharIterable return true for the specified predicate, otherwise returns false.booleananySatisfy(CharPredicate predicate)Returns true if any of the elements in the CharIterable return true for the specified predicate, otherwise returns false.CharIteratorcharIterator()Returns a primitive iterator that can be used to iterate over the CharIterable in an imperative style.chardetectIfNone(CharPredicate predicate, char ifNone)voideach(CharProcedure procedure)A synonym for forEach.booleannoneSatisfy(CharPredicate predicate)Returns true if none of the elements in the CharIterable return true for the specified predicate, otherwise returns false.-
Methods inherited from class org.eclipse.collections.impl.lazy.primitive.AbstractLazyCharIterable
appendString, appendString, appendString, asLazy, average, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, flatCollect, injectInto, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, notEmpty, reject, select, size, 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
-
adapted
private final CharIterable adapted
-
procedure
private final CharProcedure procedure
-
-
Constructor Detail
-
TapCharIterable
public TapCharIterable(CharIterable delegate, CharProcedure procedure)
-
-
Method Detail
-
each
public void each(CharProcedure procedure)
Description copied from interface:CharIterableA synonym for forEach.
-
anySatisfy
public boolean anySatisfy(CharPredicate predicate)
Description copied from interface:CharIterableReturns true if any of the elements in the CharIterable return true for the specified predicate, otherwise returns false.- Specified by:
anySatisfyin interfaceCharIterable- Overrides:
anySatisfyin classAbstractLazyCharIterable
-
allSatisfy
public boolean allSatisfy(CharPredicate predicate)
Description copied from interface:CharIterableReturns true if all of the elements in the CharIterable return true for the specified predicate, otherwise returns false.- Specified by:
allSatisfyin interfaceCharIterable- Overrides:
allSatisfyin classAbstractLazyCharIterable
-
noneSatisfy
public boolean noneSatisfy(CharPredicate predicate)
Description copied from interface:CharIterableReturns true if none of the elements in the CharIterable return true for the specified predicate, otherwise returns false.- Specified by:
noneSatisfyin interfaceCharIterable- Overrides:
noneSatisfyin classAbstractLazyCharIterable
-
detectIfNone
public char detectIfNone(CharPredicate predicate, char ifNone)
- Specified by:
detectIfNonein interfaceCharIterable- Overrides:
detectIfNonein classAbstractLazyCharIterable
-
charIterator
public CharIterator charIterator()
Description copied from interface:CharIterableReturns a primitive iterator that can be used to iterate over the CharIterable in an imperative style.
-
-