public class UnmodifiableByteCharMap extends Object implements MutableByteCharMap, Serializable
| Constructor and Description |
|---|
UnmodifiableByteCharMap(MutableByteCharMap map) |
withAllKeyValuesinjectIntoKeyValuetapaverageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAny, containsAny, containsNone, containsNone, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, medianIfEmpty, reduce, reduceIfEmpty, reject, select, summaryStatistics, toSortedList, toSortedListBy, toSortedListBypublic UnmodifiableByteCharMap(MutableByteCharMap map)
public void clear()
clear in interface MutableCharValuesMappublic void put(byte key,
char value)
put in interface MutableByteCharMappublic void putPair(ByteCharPair keyValuePair)
putPair in interface MutableByteCharMappublic void putAll(ByteCharMap map)
putAll in interface MutableByteCharMappublic void updateValues(ByteCharToCharFunction function)
updateValues in interface MutableByteCharMappublic void removeKey(byte key)
removeKey in interface MutableByteCharMappublic void remove(byte key)
remove in interface MutableByteCharMappublic char removeKeyIfAbsent(byte key,
char value)
removeKeyIfAbsent in interface MutableByteCharMappublic char getIfAbsentPut(byte key,
char value)
getIfAbsentPut in interface MutableByteCharMappublic char getAndPut(byte key,
char putValue,
char defaultValue)
getAndPut in interface MutableByteCharMappublic char getIfAbsentPut(byte key,
CharFunction0 function)
getIfAbsentPut in interface MutableByteCharMappublic char getIfAbsentPutWithKey(byte key,
ByteToCharFunction function)
getIfAbsentPutWithKey in interface MutableByteCharMappublic <P> char getIfAbsentPutWith(byte key,
CharFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface MutableByteCharMappublic char updateValue(byte key,
char initialValueIfAbsent,
CharToCharFunction function)
updateValue in interface MutableByteCharMappublic char get(byte key)
get in interface ByteCharMappublic char getIfAbsent(byte key,
char ifAbsent)
getIfAbsent in interface ByteCharMappublic char getOrThrow(byte key)
getOrThrow in interface ByteCharMappublic boolean containsKey(byte key)
containsKey in interface ByteCharMappublic boolean containsValue(char value)
containsValue in interface CharValuesMappublic void forEachValue(CharProcedure procedure)
forEachValue in interface CharValuesMappublic void forEachKey(ByteProcedure procedure)
forEachKey in interface ByteCharMappublic void forEachKeyValue(ByteCharProcedure procedure)
forEachKeyValue in interface ByteCharMappublic LazyByteIterable keysView()
keysView in interface ByteCharMappublic RichIterable<ByteCharPair> keyValuesView()
keyValuesView in interface ByteCharMappublic MutableCharByteMap flipUniqueValues()
flipUniqueValues in interface ByteCharMapflipUniqueValues in interface MutableByteCharMappublic MutableByteCharMap select(ByteCharPredicate predicate)
select in interface ByteCharMapselect in interface MutableByteCharMappublic MutableByteCharMap reject(ByteCharPredicate predicate)
reject in interface ByteCharMapreject in interface MutableByteCharMappublic MutableCharIterator charIterator()
charIterator in interface CharIterablecharIterator in interface MutableCharValuesMappublic void each(CharProcedure procedure)
each in interface CharIterablepublic int count(CharPredicate predicate)
count in interface CharIterablepublic boolean anySatisfy(CharPredicate predicate)
anySatisfy in interface CharIterablepublic boolean allSatisfy(CharPredicate predicate)
allSatisfy in interface CharIterablepublic boolean noneSatisfy(CharPredicate predicate)
noneSatisfy in interface CharIterablepublic MutableCharBag select(CharPredicate predicate)
select in interface CharIterableselect in interface CharValuesMapselect in interface MutableCharValuesMappublic MutableCharBag reject(CharPredicate predicate)
reject in interface CharIterablereject in interface CharValuesMapreject in interface MutableCharValuesMappublic <V> MutableBag<V> collect(CharToObjectFunction<? extends V> function)
collect in interface CharIterablecollect in interface CharValuesMapcollect in interface MutableCharValuesMappublic char detectIfNone(CharPredicate predicate, char ifNone)
detectIfNone in interface CharIterablepublic long sum()
sum in interface CharIterablepublic char max()
max in interface CharIterablepublic char maxIfEmpty(char defaultValue)
maxIfEmpty in interface CharIterablepublic char min()
min in interface CharIterablepublic char minIfEmpty(char defaultValue)
minIfEmpty in interface CharIterablepublic double average()
average in interface CharIterablepublic double median()
median in interface CharIterablepublic char addToValue(byte key,
char toBeAdded)
addToValue in interface MutableByteCharMappublic char[] toSortedArray()
toSortedArray in interface CharIterablepublic MutableCharList toSortedList()
toSortedList in interface CharIterablepublic char[] toArray()
toArray in interface CharIterablepublic char[] toArray(char[] target)
toArray in interface CharIterablepublic boolean contains(char value)
contains in interface CharIterablepublic boolean containsAll(char... source)
containsAll in interface CharIterablepublic boolean containsAll(CharIterable source)
containsAll in interface CharIterablepublic MutableCharList toList()
toList in interface CharIterablepublic MutableCharSet toSet()
toSet in interface CharIterablepublic MutableCharBag toBag()
toBag in interface CharIterablepublic LazyCharIterable asLazy()
asLazy in interface CharIterablepublic MutableByteCharMap withKeyValue(byte key, char value)
withKeyValue in interface MutableByteCharMappublic MutableByteCharMap withoutKey(byte key)
withoutKey in interface MutableByteCharMappublic MutableByteCharMap withoutAllKeys(ByteIterable keys)
withoutAllKeys in interface MutableByteCharMappublic MutableByteCharMap asUnmodifiable()
asUnmodifiable in interface MutableByteCharMappublic MutableByteCharMap asSynchronized()
asSynchronized in interface MutableByteCharMappublic ImmutableByteCharMap toImmutable()
toImmutable in interface ByteCharMappublic int size()
size in interface PrimitiveIterablepublic boolean isEmpty()
isEmpty in interface PrimitiveIterablepublic boolean notEmpty()
notEmpty in interface PrimitiveIterablepublic MutableByteSet keySet()
keySet in interface ByteCharMappublic MutableCharCollection values()
values in interface CharValuesMappublic boolean equals(Object otherMap)
equals in interface ByteCharMapequals in class Objectpublic int hashCode()
hashCode in interface ByteCharMaphashCode in class Objectpublic String toString()
toString in interface ByteCharMaptoString in interface PrimitiveIterabletoString in class Objectpublic String makeString()
makeString in interface PrimitiveIterablepublic String makeString(String separator)
makeString in interface PrimitiveIterablepublic String makeString(String start, String separator, String end)
makeString in interface PrimitiveIterablepublic void appendString(Appendable appendable)
appendString in interface PrimitiveIterablepublic void appendString(Appendable appendable, String separator)
appendString in interface PrimitiveIterablepublic void appendString(Appendable appendable, String start, String separator, String end)
appendString in interface PrimitiveIterablepublic <T> T injectInto(T injectedValue,
ObjectCharToObjectFunction<? super T,? extends T> function)
injectInto in interface CharIterablepublic RichIterable<CharIterable> chunk(int size)
chunk in interface CharIterableCopyright © 2004–2022. All rights reserved.