CharIterable
, LazyCharIterable
, PrimitiveIterable
public class TapCharIterable extends AbstractLazyCharIterable
Modifier and Type | Class | Description |
---|---|---|
static class |
TapCharIterable.TapCharIterator |
Constructor | Description |
---|---|
TapCharIterable(CharIterable delegate,
CharProcedure procedure) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
allSatisfy(CharPredicate predicate) |
Returns true if all of the elements in the CharIterable return true for the
specified predicate, otherwise returns false.
|
boolean |
anySatisfy(CharPredicate predicate) |
Returns true if any of the elements in the CharIterable return true for the
specified predicate, otherwise returns false.
|
CharIterator |
charIterator() |
Returns a primitive iterator that can be used to iterate over the CharIterable in an
imperative style.
|
char |
detectIfNone(CharPredicate predicate,
char ifNone) |
|
void |
each(CharProcedure procedure) |
A synonym for forEach.
|
boolean |
noneSatisfy(CharPredicate predicate) |
Returns true if none of the elements in the CharIterable return true for the
specified predicate, otherwise returns false.
|
appendString, appendString, appendString, asLazy, average, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, flatCollect, forEach, injectInto, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, notEmpty, reject, select, size, sum, tap, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toString
averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, flatCollect, medianIfEmpty, reject, select, summaryStatistics
public TapCharIterable(CharIterable delegate, CharProcedure procedure)
public void each(CharProcedure procedure)
CharIterable
public boolean anySatisfy(CharPredicate predicate)
CharIterable
anySatisfy
in interface CharIterable
anySatisfy
in class AbstractLazyCharIterable
public boolean allSatisfy(CharPredicate predicate)
CharIterable
allSatisfy
in interface CharIterable
allSatisfy
in class AbstractLazyCharIterable
public boolean noneSatisfy(CharPredicate predicate)
CharIterable
noneSatisfy
in interface CharIterable
noneSatisfy
in class AbstractLazyCharIterable
public char detectIfNone(CharPredicate predicate, char ifNone)
detectIfNone
in interface CharIterable
detectIfNone
in class AbstractLazyCharIterable
public CharIterator charIterator()
CharIterable
Copyright © 2004–2018. All rights reserved.