IntIterable
, IntValuesMap
, PrimitiveIterable
ImmutableCharIntMap
, MutableCharIntMap
CharIntHashMap
, SynchronizedCharIntMap
, UnmodifiableCharIntMap
public interface CharIntMap extends IntValuesMap
Modifier and Type | Method | Description |
---|---|---|
boolean |
containsKey(char key) |
|
boolean |
equals(java.lang.Object o) |
Follows the same general contract as
Map.equals(Object) . |
IntCharMap |
flipUniqueValues() |
Return the IntCharMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
void |
forEachKey(CharProcedure procedure) |
|
void |
forEachKeyValue(CharIntProcedure procedure) |
|
int |
get(char key) |
|
int |
getIfAbsent(char key,
int ifAbsent) |
|
int |
getOrThrow(char key) |
|
int |
hashCode() |
Follows the same general contract as
Map.hashCode() . |
MutableCharSet |
keySet() |
|
LazyCharIterable |
keysView() |
|
RichIterable<CharIntPair> |
keyValuesView() |
|
CharIntMap |
reject(CharIntPredicate predicate) |
|
CharIntMap |
select(CharIntPredicate predicate) |
|
ImmutableCharIntMap |
toImmutable() |
|
java.lang.String |
toString() |
Follows the same general contract as
AbstractMap.toString() |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, intIterator, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
collect, containsValue, forEachValue, reject, select, tap, values
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
int get(char key)
int getIfAbsent(char key, int ifAbsent)
int getOrThrow(char key)
boolean containsKey(char key)
void forEachKey(CharProcedure procedure)
void forEachKeyValue(CharIntProcedure procedure)
LazyCharIterable keysView()
RichIterable<CharIntPair> keyValuesView()
IntCharMap flipUniqueValues()
java.lang.IllegalStateException
- if the IntCharMap contains duplicate values.CharIntMap select(CharIntPredicate predicate)
CharIntMap reject(CharIntPredicate predicate)
boolean equals(java.lang.Object o)
Map.equals(Object)
.equals
in class java.lang.Object
int hashCode()
Map.hashCode()
.hashCode
in class java.lang.Object
java.lang.String toString()
AbstractMap.toString()
toString
in interface PrimitiveIterable
toString
in class java.lang.Object
AbstractCollection.toString()
ImmutableCharIntMap toImmutable()
MutableCharSet keySet()
Copyright © 2004–2018. All rights reserved.