public class SelectCharIterable extends AbstractLazyCharIterable
| Constructor and Description |
|---|
SelectCharIterable(CharIterable delegate,
CharPredicate predicate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allSatisfy(CharPredicate predicate) |
boolean |
anySatisfy(CharPredicate predicate) |
CharIterator |
charIterator() |
boolean |
containsAll(char... source) |
boolean |
containsAll(CharIterable source) |
int |
count(CharPredicate predicate) |
void |
each(CharProcedure procedure) |
boolean |
isEmpty()
Returns true if this iterable has zero items.
|
boolean |
noneSatisfy(CharPredicate predicate) |
boolean |
notEmpty()
The English equivalent of !this.isEmpty()
|
int |
size()
Returns the number of items in this iterable.
|
char[] |
toArray() |
MutableCharBag |
toBag() |
MutableCharList |
toList() |
MutableCharSet |
toSet() |
appendString, appendString, appendString, asLazy, average, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, detectIfNone, forEach, injectInto, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, reject, select, sum, toSortedArray, toSortedList, toStringpublic SelectCharIterable(CharIterable delegate, CharPredicate predicate)
public CharIterator charIterator()
public void each(CharProcedure procedure)
public int size()
PrimitiveIterablesize in interface PrimitiveIterablesize in class AbstractLazyCharIterablepublic boolean isEmpty()
PrimitiveIterableisEmpty in interface PrimitiveIterableisEmpty in class AbstractLazyCharIterablepublic boolean notEmpty()
PrimitiveIterablenotEmpty in interface PrimitiveIterablenotEmpty in class AbstractLazyCharIterablepublic int count(CharPredicate predicate)
count in interface CharIterablecount in class AbstractLazyCharIterablepublic boolean anySatisfy(CharPredicate predicate)
anySatisfy in interface CharIterableanySatisfy in class AbstractLazyCharIterablepublic boolean allSatisfy(CharPredicate predicate)
allSatisfy in interface CharIterableallSatisfy in class AbstractLazyCharIterablepublic boolean noneSatisfy(CharPredicate predicate)
noneSatisfy in interface CharIterablenoneSatisfy in class AbstractLazyCharIterablepublic char[] toArray()
toArray in interface CharIterabletoArray in class AbstractLazyCharIterablepublic boolean containsAll(char... source)
containsAll in interface CharIterablecontainsAll in class AbstractLazyCharIterablepublic boolean containsAll(CharIterable source)
containsAll in interface CharIterablecontainsAll in class AbstractLazyCharIterablepublic MutableCharList toList()
toList in interface CharIterabletoList in class AbstractLazyCharIterablepublic MutableCharSet toSet()
toSet in interface CharIterabletoSet in class AbstractLazyCharIterablepublic MutableCharBag toBag()
toBag in interface CharIterabletoBag in class AbstractLazyCharIterableCopyright © 2004–2016. All rights reserved.