public interface LongShortMap extends ShortIterable
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(long key) |
boolean |
containsValue(short value) |
boolean |
equals(Object o)
Follows the same general contract as
Map.equals(Object) . |
void |
forEachKey(LongProcedure procedure) |
void |
forEachKeyValue(LongShortProcedure procedure) |
void |
forEachValue(ShortProcedure procedure) |
short |
get(long key) |
short |
getIfAbsent(long key,
short ifAbsent) |
short |
getOrThrow(long key) |
int |
hashCode()
Follows the same general contract as
Map.hashCode() . |
MutableLongSet |
keySet() |
LazyLongIterable |
keysView() |
RichIterable<LongShortPair> |
keyValuesView() |
LongShortMap |
reject(LongShortPredicate predicate) |
LongShortMap |
select(LongShortPredicate predicate) |
ImmutableLongShortMap |
toImmutable() |
String |
toString()
Returns a string representation of this LongShortMap.
|
MutableShortCollection |
values() |
allSatisfy, anySatisfy, asLazy, average, collect, contains, containsAll, containsAll, count, detectIfNone, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, reject, select, shortIterator, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
short get(long key)
short getIfAbsent(long key, short ifAbsent)
short getOrThrow(long key)
boolean containsKey(long key)
boolean containsValue(short value)
void forEachValue(ShortProcedure procedure)
void forEachKey(LongProcedure procedure)
void forEachKeyValue(LongShortProcedure procedure)
LazyLongIterable keysView()
RichIterable<LongShortPair> keyValuesView()
LongShortMap select(LongShortPredicate predicate)
LongShortMap reject(LongShortPredicate predicate)
boolean equals(Object o)
Map.equals(Object)
.int hashCode()
Map.hashCode()
.String toString()
toString
in interface PrimitiveIterable
toString
in class Object
ImmutableLongShortMap toImmutable()
MutableLongSet keySet()
MutableShortCollection values()
Copyright © 2004–2017. All rights reserved.