CharIterable
, CharValuesMap
, PrimitiveIterable
ImmutableIntCharMap
, MutableIntCharMap
IntCharHashMap
, SynchronizedIntCharMap
, UnmodifiableIntCharMap
public interface IntCharMap extends CharValuesMap
Modifier and Type | Method | Description |
---|---|---|
boolean |
containsKey(int key) |
|
boolean |
equals(java.lang.Object o) |
Follows the same general contract as
Map.equals(Object) . |
CharIntMap |
flipUniqueValues() |
Return the CharIntMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
void |
forEachKey(IntProcedure procedure) |
|
void |
forEachKeyValue(IntCharProcedure procedure) |
|
char |
get(int key) |
|
char |
getIfAbsent(int key,
char ifAbsent) |
|
char |
getOrThrow(int key) |
|
int |
hashCode() |
Follows the same general contract as
Map.hashCode() . |
MutableIntSet |
keySet() |
|
LazyIntIterable |
keysView() |
|
RichIterable<IntCharPair> |
keyValuesView() |
|
IntCharMap |
reject(IntCharPredicate predicate) |
|
IntCharMap |
select(IntCharPredicate predicate) |
|
ImmutableIntCharMap |
toImmutable() |
|
java.lang.String |
toString() |
Follows the same general contract as
AbstractMap.toString() |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, charIterator, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, 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
char get(int key)
char getIfAbsent(int key, char ifAbsent)
char getOrThrow(int key)
boolean containsKey(int key)
void forEachKey(IntProcedure procedure)
void forEachKeyValue(IntCharProcedure procedure)
LazyIntIterable keysView()
RichIterable<IntCharPair> keyValuesView()
CharIntMap flipUniqueValues()
java.lang.IllegalStateException
- if the CharIntMap contains duplicate values.IntCharMap select(IntCharPredicate predicate)
IntCharMap reject(IntCharPredicate 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()
ImmutableIntCharMap toImmutable()
MutableIntSet keySet()
Copyright © 2004–2017. All rights reserved.