public class LiteMap<K,V> extends com.oracle.common.collections.InflatableMap<K,V> implements ExternalizableLite
The LiteMap implementation switches at runtime between several different sub-implementations for storing the Map of objects, described here:
The LiteMap implementation supports the null key value.
com.oracle.common.collections.InflatableMap.EntryIterator<K,V>, com.oracle.common.collections.InflatableMap.EntrySetAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
LiteMap()
Construct a LiteMap.
|
LiteMap(Map<? extends K,? extends V> map)
Construct a LiteMap with the same mappings as the given map.
|
| Modifier and Type | Method and Description |
|---|---|
void |
readExternal(DataInput in)
Restore the contents of this object by loading the object's state from
the passed DataInput object.
|
void |
writeExternal(DataOutput out)
Save the contents of this object by storing the object's state into
the passed DataOutput object.
|
checkShrinkFromOther, clear, clone, containsKey, ensureRuntimeException, entrySet, get, instantiateEntry, instantiateEntrySet, instantiateMap, isEmpty, put, readExternal, remove, size, writeExternalcontainsValue, equals, hashCode, keySet, putAll, toString, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic void readExternal(DataInput in) throws IOException
readExternal in interface ExternalizableLitein - the DataInput stream to read data from in order to restore
the state of this objectIOException - if an I/O exception occursNotActiveException - if the object is not in its initial
state, and therefore cannot be deserialized intopublic void writeExternal(DataOutput out) throws IOException
writeExternal in interface ExternalizableLiteout - the DataOutput stream to write the state of this object toIOException - if an I/O exception occurs