Class AbstractMutableCharValuesMap
- java.lang.Object
-
- org.eclipse.collections.impl.primitive.AbstractCharIterable
-
- org.eclipse.collections.impl.map.mutable.primitive.AbstractMutableCharValuesMap
-
- All Implemented Interfaces:
CharIterable
,CharValuesMap
,MutableCharValuesMap
,PrimitiveIterable
- Direct Known Subclasses:
ByteCharHashMap
,CharCharHashMap
,DoubleCharHashMap
,FloatCharHashMap
,IntCharHashMap
,LongCharHashMap
,ShortCharHashMap
public abstract class AbstractMutableCharValuesMap extends AbstractCharIterable implements MutableCharValuesMap
This file was automatically generated from template file abstractMutablePrimitiveValuesMap.stg.- Since:
- 6.0.
-
-
Constructor Summary
Constructors Constructor Description AbstractMutableCharValuesMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
allSatisfy(CharPredicate predicate)
boolean
anySatisfy(CharPredicate predicate)
void
appendString(Appendable appendable, String start, String separator, String end)
RichIterable<CharIterable>
chunk(int size)
<V> MutableBag<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
forEachValue(CharProcedure procedure)
boolean
isEmpty()
char
max()
char
min()
boolean
notEmpty()
MutableCharBag
reject(CharPredicate predicate)
MutableCharBag
select(CharPredicate predicate)
int
size()
long
sum()
char[]
toArray()
char[]
toArray(char[] target)
-
Methods inherited from class org.eclipse.collections.impl.primitive.AbstractCharIterable
asLazy, average, maxIfEmpty, median, minIfEmpty, toBag, toList, toSet, toSortedArray, toSortedList, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.collections.api.CharIterable
asLazy, average, averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAll, containsAny, containsAny, containsNone, containsNone, flatCollect, forEach, injectInto, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, maxIfEmpty, median, medianIfEmpty, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, summaryStatistics, toBag, toList, toSet, toSortedArray, toSortedList, toSortedList, toSortedListBy, toSortedListBy
-
Methods inherited from interface org.eclipse.collections.api.map.primitive.CharValuesMap
tap, values
-
Methods inherited from interface org.eclipse.collections.api.map.primitive.MutableCharValuesMap
charIterator, clear
-
Methods inherited from interface org.eclipse.collections.api.PrimitiveIterable
appendString, appendString, makeString, makeString, makeString, toString
-
-
-
-
Method Detail
-
contains
public boolean contains(char value)
- Specified by:
contains
in interfaceCharIterable
-
containsAll
public boolean containsAll(CharIterable source)
- Specified by:
containsAll
in interfaceCharIterable
-
max
public char max()
- Specified by:
max
in interfaceCharIterable
-
min
public char min()
- Specified by:
min
in interfaceCharIterable
-
size
public int size()
- Specified by:
size
in interfacePrimitiveIterable
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfacePrimitiveIterable
-
notEmpty
public boolean notEmpty()
- Specified by:
notEmpty
in interfacePrimitiveIterable
-
each
public void each(CharProcedure procedure)
- Specified by:
each
in interfaceCharIterable
- Since:
- 7.0.
-
appendString
public void appendString(Appendable appendable, String start, String separator, String end)
- Specified by:
appendString
in interfacePrimitiveIterable
-
toArray
public char[] toArray()
- Specified by:
toArray
in interfaceCharIterable
-
toArray
public char[] toArray(char[] target)
- Specified by:
toArray
in interfaceCharIterable
-
select
public MutableCharBag select(CharPredicate predicate)
- Specified by:
select
in interfaceCharIterable
- Specified by:
select
in interfaceCharValuesMap
- Specified by:
select
in interfaceMutableCharValuesMap
-
reject
public MutableCharBag reject(CharPredicate predicate)
- Specified by:
reject
in interfaceCharIterable
- Specified by:
reject
in interfaceCharValuesMap
- Specified by:
reject
in interfaceMutableCharValuesMap
-
collect
public <V> MutableBag<V> collect(CharToObjectFunction<? extends V> function)
- Specified by:
collect
in interfaceCharIterable
- Specified by:
collect
in interfaceCharValuesMap
- Specified by:
collect
in interfaceMutableCharValuesMap
-
detectIfNone
public char detectIfNone(CharPredicate predicate, char value)
- Specified by:
detectIfNone
in interfaceCharIterable
-
count
public int count(CharPredicate predicate)
- Specified by:
count
in interfaceCharIterable
-
anySatisfy
public boolean anySatisfy(CharPredicate predicate)
- Specified by:
anySatisfy
in interfaceCharIterable
-
allSatisfy
public boolean allSatisfy(CharPredicate predicate)
- Specified by:
allSatisfy
in interfaceCharIterable
-
chunk
public RichIterable<CharIterable> chunk(int size)
- Specified by:
chunk
in interfaceCharIterable
-
sum
public long sum()
- Specified by:
sum
in interfaceCharIterable
-
containsValue
public boolean containsValue(char value)
- Specified by:
containsValue
in interfaceCharValuesMap
-
forEachValue
public void forEachValue(CharProcedure procedure)
- Specified by:
forEachValue
in interfaceCharValuesMap
-
-