public abstract class AbstractMutableCharValuesMap extends AbstractCharIterable implements MutableCharValuesMap
Constructor and Description |
---|
AbstractMutableCharValuesMap() |
Modifier and Type | Method and Description |
---|---|
boolean |
allSatisfy(CharPredicate predicate) |
boolean |
anySatisfy(CharPredicate predicate) |
void |
appendString(Appendable appendable,
String start,
String separator,
String end)
Prints a string representation of this collection onto the given
Appendable . |
<V> MutableCollection<V> |
collect(CharToObjectFunction<? extends V> function) |
boolean |
contains(char value) |
boolean |
containsAll(CharIterable source) |
boolean |
containsValue(char value) |
int |
count(CharPredicate predicate) |
char |
detectIfNone(CharPredicate predicate,
char value) |
void |
each(CharProcedure procedure) |
void |
forEach(CharProcedure procedure) |
void |
forEachValue(CharProcedure procedure) |
boolean |
isEmpty()
Returns true if this iterable has zero items.
|
char |
max() |
char |
min() |
boolean |
noneSatisfy(CharPredicate predicate) |
boolean |
notEmpty()
The English equivalent of !this.isEmpty()
|
MutableCharCollection |
reject(CharPredicate predicate) |
MutableCharCollection |
select(CharPredicate predicate) |
int |
size()
Returns the number of items in this iterable.
|
long |
sum() |
char[] |
toArray() |
appendString, appendString, asLazy, average, containsAll, makeString, makeString, makeString, maxIfEmpty, median, minIfEmpty, toBag, toList, toSet, toSortedArray, toSortedList, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
charIterator, clear
values
asLazy, average, containsAll, injectInto, maxIfEmpty, median, minIfEmpty, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, makeString, makeString, makeString, toString
public boolean contains(char value)
contains
in interface CharIterable
public boolean containsAll(CharIterable source)
containsAll
in interface CharIterable
containsAll
in class AbstractCharIterable
public char max()
max
in interface CharIterable
public char min()
min
in interface CharIterable
public int size()
PrimitiveIterable
size
in interface PrimitiveIterable
public boolean isEmpty()
PrimitiveIterable
isEmpty
in interface PrimitiveIterable
isEmpty
in class AbstractCharIterable
public boolean notEmpty()
PrimitiveIterable
notEmpty
in interface PrimitiveIterable
notEmpty
in class AbstractCharIterable
public void forEach(CharProcedure procedure)
forEach
in interface CharIterable
public void each(CharProcedure procedure)
each
in interface CharIterable
public void appendString(Appendable appendable, String start, String separator, String end)
PrimitiveIterable
Appendable
. Prints the string returned
by PrimitiveIterable.makeString(String, String, String)
.appendString
in interface PrimitiveIterable
public char[] toArray()
toArray
in interface CharIterable
public MutableCharCollection select(CharPredicate predicate)
select
in interface CharIterable
select
in interface MutableCharValuesMap
public MutableCharCollection reject(CharPredicate predicate)
reject
in interface CharIterable
reject
in interface MutableCharValuesMap
public <V> MutableCollection<V> collect(CharToObjectFunction<? extends V> function)
collect
in interface CharIterable
collect
in interface MutableCharValuesMap
public char detectIfNone(CharPredicate predicate, char value)
detectIfNone
in interface CharIterable
public int count(CharPredicate predicate)
count
in interface CharIterable
public boolean anySatisfy(CharPredicate predicate)
anySatisfy
in interface CharIterable
public boolean allSatisfy(CharPredicate predicate)
allSatisfy
in interface CharIterable
public boolean noneSatisfy(CharPredicate predicate)
noneSatisfy
in interface CharIterable
public long sum()
sum
in interface CharIterable
public boolean containsValue(char value)
containsValue
in interface CharValuesMap
public void forEachValue(CharProcedure procedure)
forEachValue
in interface CharValuesMap
Copyright © 2004–2016. All rights reserved.