public class UnmodifiableLongByteMap extends Object implements MutableLongByteMap, Serializable
| Constructor and Description |
|---|
UnmodifiableLongByteMap(MutableLongByteMap 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 UnmodifiableLongByteMap(MutableLongByteMap map)
public void clear()
clear in interface MutableByteValuesMappublic void put(long key,
byte value)
put in interface MutableLongByteMappublic void putPair(LongBytePair keyValuePair)
putPair in interface MutableLongByteMappublic void putAll(LongByteMap map)
putAll in interface MutableLongByteMappublic void updateValues(LongByteToByteFunction function)
updateValues in interface MutableLongByteMappublic void removeKey(long key)
removeKey in interface MutableLongByteMappublic void remove(long key)
remove in interface MutableLongByteMappublic byte removeKeyIfAbsent(long key,
byte value)
removeKeyIfAbsent in interface MutableLongByteMappublic byte getIfAbsentPut(long key,
byte value)
getIfAbsentPut in interface MutableLongByteMappublic byte getAndPut(long key,
byte putValue,
byte defaultValue)
getAndPut in interface MutableLongByteMappublic byte getIfAbsentPut(long key,
ByteFunction0 function)
getIfAbsentPut in interface MutableLongByteMappublic byte getIfAbsentPutWithKey(long key,
LongToByteFunction function)
getIfAbsentPutWithKey in interface MutableLongByteMappublic <P> byte getIfAbsentPutWith(long key,
ByteFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface MutableLongByteMappublic byte updateValue(long key,
byte initialValueIfAbsent,
ByteToByteFunction function)
updateValue in interface MutableLongByteMappublic byte get(long key)
get in interface LongByteMappublic byte getIfAbsent(long key,
byte ifAbsent)
getIfAbsent in interface LongByteMappublic byte getOrThrow(long key)
getOrThrow in interface LongByteMappublic boolean containsKey(long key)
containsKey in interface LongByteMappublic boolean containsValue(byte value)
containsValue in interface ByteValuesMappublic void forEachValue(ByteProcedure procedure)
forEachValue in interface ByteValuesMappublic void forEachKey(LongProcedure procedure)
forEachKey in interface LongByteMappublic void forEachKeyValue(LongByteProcedure procedure)
forEachKeyValue in interface LongByteMappublic LazyLongIterable keysView()
keysView in interface LongByteMappublic RichIterable<LongBytePair> keyValuesView()
keyValuesView in interface LongByteMappublic MutableByteLongMap flipUniqueValues()
flipUniqueValues in interface LongByteMapflipUniqueValues in interface MutableLongByteMappublic MutableLongByteMap select(LongBytePredicate predicate)
select in interface LongByteMapselect in interface MutableLongByteMappublic MutableLongByteMap reject(LongBytePredicate predicate)
reject in interface LongByteMapreject in interface MutableLongByteMappublic MutableByteIterator byteIterator()
byteIterator in interface ByteIterablebyteIterator in interface MutableByteValuesMappublic void each(ByteProcedure procedure)
each in interface ByteIterablepublic int count(BytePredicate predicate)
count in interface ByteIterablepublic boolean anySatisfy(BytePredicate predicate)
anySatisfy in interface ByteIterablepublic boolean allSatisfy(BytePredicate predicate)
allSatisfy in interface ByteIterablepublic boolean noneSatisfy(BytePredicate predicate)
noneSatisfy in interface ByteIterablepublic MutableByteBag select(BytePredicate predicate)
select in interface ByteIterableselect in interface ByteValuesMapselect in interface MutableByteValuesMappublic MutableByteBag reject(BytePredicate predicate)
reject in interface ByteIterablereject in interface ByteValuesMapreject in interface MutableByteValuesMappublic <V> MutableBag<V> collect(ByteToObjectFunction<? extends V> function)
collect in interface ByteIterablecollect in interface ByteValuesMapcollect in interface MutableByteValuesMappublic byte detectIfNone(BytePredicate predicate, byte ifNone)
detectIfNone in interface ByteIterablepublic long sum()
sum in interface ByteIterablepublic byte max()
max in interface ByteIterablepublic byte maxIfEmpty(byte defaultValue)
maxIfEmpty in interface ByteIterablepublic byte min()
min in interface ByteIterablepublic byte minIfEmpty(byte defaultValue)
minIfEmpty in interface ByteIterablepublic double average()
average in interface ByteIterablepublic double median()
median in interface ByteIterablepublic byte addToValue(long key,
byte toBeAdded)
addToValue in interface MutableLongByteMappublic byte[] toSortedArray()
toSortedArray in interface ByteIterablepublic MutableByteList toSortedList()
toSortedList in interface ByteIterablepublic byte[] toArray()
toArray in interface ByteIterablepublic byte[] toArray(byte[] target)
toArray in interface ByteIterablepublic boolean contains(byte value)
contains in interface ByteIterablepublic boolean containsAll(byte... source)
containsAll in interface ByteIterablepublic boolean containsAll(ByteIterable source)
containsAll in interface ByteIterablepublic MutableByteList toList()
toList in interface ByteIterablepublic MutableByteSet toSet()
toSet in interface ByteIterablepublic MutableByteBag toBag()
toBag in interface ByteIterablepublic LazyByteIterable asLazy()
asLazy in interface ByteIterablepublic MutableLongByteMap withKeyValue(long key, byte value)
withKeyValue in interface MutableLongByteMappublic MutableLongByteMap withoutKey(long key)
withoutKey in interface MutableLongByteMappublic MutableLongByteMap withoutAllKeys(LongIterable keys)
withoutAllKeys in interface MutableLongByteMappublic MutableLongByteMap asUnmodifiable()
asUnmodifiable in interface MutableLongByteMappublic MutableLongByteMap asSynchronized()
asSynchronized in interface MutableLongByteMappublic ImmutableLongByteMap toImmutable()
toImmutable in interface LongByteMappublic int size()
size in interface PrimitiveIterablepublic boolean isEmpty()
isEmpty in interface PrimitiveIterablepublic boolean notEmpty()
notEmpty in interface PrimitiveIterablepublic MutableLongSet keySet()
keySet in interface LongByteMappublic MutableByteCollection values()
values in interface ByteValuesMappublic boolean equals(Object otherMap)
equals in interface LongByteMapequals in class Objectpublic int hashCode()
hashCode in interface LongByteMaphashCode in class Objectpublic String toString()
toString in interface LongByteMaptoString 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,
ObjectByteToObjectFunction<? super T,? extends T> function)
injectInto in interface ByteIterablepublic RichIterable<ByteIterable> chunk(int size)
chunk in interface ByteIterableCopyright © 2004–2022. All rights reserved.