CharIterable
, PrimitiveIterable
ImmutableObjectCharMap<K>
, MutableObjectCharMap<K>
AbstractImmutableObjectCharMap
, ObjectCharHashMap
, ObjectCharHashMapWithHashingStrategy
, SynchronizedObjectCharMap
, UnmodifiableObjectCharMap
public interface ObjectCharMap<K> extends CharIterable
Modifier and Type | Method | Description |
---|---|---|
boolean |
containsKey(Object key) |
|
boolean |
containsValue(char value) |
|
CharObjectMap<K> |
flipUniqueValues() |
Return the CharObjectMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
void |
forEachKey(Procedure<? super K> procedure) |
|
void |
forEachKeyValue(ObjectCharProcedure<? super K> procedure) |
|
void |
forEachValue(CharProcedure procedure) |
|
char |
get(Object key) |
|
char |
getIfAbsent(Object key,
char ifAbsent) |
|
char |
getOrThrow(Object key) |
|
Set<K> |
keySet() |
|
LazyIterable<K> |
keysView() |
|
RichIterable<ObjectCharPair<K>> |
keyValuesView() |
|
ObjectCharMap<K> |
reject(ObjectCharPredicate<? super K> predicate) |
|
ObjectCharMap<K> |
select(ObjectCharPredicate<? super K> predicate) |
|
default ObjectCharMap<K> |
tap(CharProcedure procedure) |
|
ImmutableObjectCharMap<K> |
toImmutable() |
|
String |
toString() |
Follows the same general contract as
AbstractMap.toString() |
MutableCharCollection |
values() |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, charIterator, chunk, collect, 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, reduce, reduceIfEmpty, reject, reject, select, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
char get(Object key)
char getOrThrow(Object key)
char getIfAbsent(Object key, char ifAbsent)
boolean containsKey(Object key)
boolean containsValue(char value)
void forEachValue(CharProcedure procedure)
void forEachKeyValue(ObjectCharProcedure<? super K> procedure)
CharObjectMap<K> flipUniqueValues()
IllegalStateException
- if the CharObjectMap contains duplicate values.ObjectCharMap<K> select(ObjectCharPredicate<? super K> predicate)
ObjectCharMap<K> reject(ObjectCharPredicate<? super K> predicate)
default ObjectCharMap<K> tap(CharProcedure procedure)
tap
in interface CharIterable
String toString()
AbstractMap.toString()
toString
in interface PrimitiveIterable
toString
in class Object
AbstractCollection.toString()
ImmutableObjectCharMap<K> toImmutable()
MutableCharCollection values()
LazyIterable<K> keysView()
RichIterable<ObjectCharPair<K>> keyValuesView()
Copyright © 2004–2019. All rights reserved.