@Immutable public class CollectCharIterable<T> extends AbstractLazyCharIterable
| Constructor and Description |
|---|
CollectCharIterable(LazyIterable<T> adapted,
CharFunction<? super T> function) |
| 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) |
void |
forEach(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() |
char[] |
toSortedArray() |
appendString, appendString, appendString, asLazy, average, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, detectIfNone, injectInto, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, reject, select, sum, toSortedList, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitsummaryStatisticspublic CollectCharIterable(LazyIterable<T> adapted, CharFunction<? super T> function)
public CharIterator charIterator()
public void forEach(CharProcedure procedure)
forEach in interface CharIterableforEach in class AbstractLazyCharIterablepublic 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 char[] toSortedArray()
toSortedArray in interface CharIterabletoSortedArray 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 AbstractLazyCharIterablepublic boolean containsAll(char... source)
containsAll in interface CharIterablecontainsAll in class AbstractLazyCharIterablepublic boolean containsAll(CharIterable source)
containsAll in interface CharIterablecontainsAll in class AbstractLazyCharIterableCopyright © 2004–2016. All rights reserved.