public static class BinaryLongMap.SimpleMapImpl extends AbstractKeyBasedMap
AbstractKeyBasedMap.DeferredCacheEvent<K,V>, AbstractKeyBasedMap.EntrySet, AbstractKeyBasedMap.KeySet, AbstractKeyBasedMap.ValuesCollectionBase.LoggingWriter, Base.StackFrame| Constructor and Description |
|---|
SimpleMapImpl()
Construct a SimpleMapImpl using a BinaryRadixTree as the internal storage.
|
SimpleMapImpl(BinaryLongMap blm)
Construct a SimpleMapImpl around an existing BinaryLongMap.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear all key/value mappings.
|
boolean |
containsKey(Object oKey)
Returns true if this map contains a mapping for the specified key.
|
Long |
get(Object oKey)
Returns the value to which this map maps the specified key.
|
protected Iterator |
iterateKeys()
Create an iterator over the keys in this Map.
|
Long |
put(Object oKey, Object oValue)
Associates the specified value with the specified key in this map.
|
Long |
remove(Object oKey)
Removes the mapping for this key from this map if present.
|
int |
size()
Returns the number of key-value mappings in this map.
|
clone, containsValue, entrySet, equals, getAll, hashCode, instantiateEntrySet, instantiateKeySet, instantiateValues, isEmpty, keySet, putAll, removeBlind, toString, valuesazzert, azzert, azzert, azzertFailed, breakLines, breakLines, capitalize, checkNotEmpty, checkNotNull, checkRange, computeSafeWaitTime, decimalValue, dup, dup, ensureBigDecimal, ensureClassLoader, ensureRuntimeException, ensureRuntimeException, equals, equalsDeep, err, err, err, err, err, escape, formatDateTime, getCallerStackFrame, getCommonMonitor, getCommonMonitor, getCommonMonitor, getContextClassLoader, getContextClassLoader, getDeepMessage, getErr, getLastSafeTimeMillis, getLog, getMaxDecDigits, getMaxHexDigits, getOriginalException, getOut, getRandom, getRandomBinary, getRandomBinary, getRandomString, getSafeTimeMillis, getStackFrame, getStackFrames, getStackTrace, getStackTrace, getThreadFactory, getTimeZone, getUpTimeMillis, hashCode, hexValue, indentString, indentString, isDecimal, isHex, isLogEcho, isOctal, log, log, log, log, log, makeInteger, makeLong, makeThread, mod, mod, octalValue, out, out, out, out, out, pad, parseBandwidth, parseBandwidth, parseDelimitedString, parseHex, parseHex, parseMemorySize, parseMemorySize, parsePercentage, parseTime, parseTime, parseTimeNanos, parseTimeNanos, printStackTrace, randomize, randomize, randomize, read, read, read, read, read, read, read, replace, setErr, setLog, setLogEcho, setOut, sleep, toBandwidthString, toBandwidthString, toCharEscape, toCrc, toCrc, toCrc, toCrc, toCrc, toDecString, toDelimitedString, toDelimitedString, toDelimitedString, toDelimitedString, toHex, toHex, toHexDump, toHexEscape, toHexEscape, toHexEscape, toHexEscape, toHexString, toMemorySizeString, toMemorySizeString, toQuotedCharEscape, toQuotedStringEscape, toSqlString, toString, toString, toStringEscape, toUnicodeEscape, trace, trace, trace, trace, trace, trace, trace, trace, trace, truncateString, truncateString, waitfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic SimpleMapImpl()
public SimpleMapImpl(BinaryLongMap blm)
blm - the BinaryLongMap to use as the storage for this mappublic void clear()
clear in interface Mapclear in class AbstractKeyBasedMappublic boolean containsKey(Object oKey)
containsKey in interface MapcontainsKey in class AbstractKeyBasedMappublic Long get(Object oKey)
get in interface Mapget in class AbstractKeyBasedMapoKey - the key objectpublic Long put(Object oKey, Object oValue)
put in interface Mapput in class AbstractKeyBasedMapoKey - key with which the specified value is to be associatedoValue - value to be associated with the specified keypublic Long remove(Object oKey)
remove in interface Mapremove in class AbstractKeyBasedMapoKey - key whose mapping is to be removed from the mappublic int size()
size in interface Mapsize in class AbstractKeyBasedMapprotected Iterator iterateKeys()
iterateKeys in class AbstractKeyBasedMap