Package io.deephaven.base.map
Class FastArrayMap<K extends Comparable<K> & Externalizable & Copyable<K>,V extends Externalizable & Copyable<V>>
java.lang.Object
io.deephaven.base.map.FastArrayMap<K,V>
- All Implemented Interfaces:
Copyable<FastArrayMap<K,
,V>> SafeCloneable<FastArrayMap<K,
,V>> Cloneable
public class FastArrayMap<K extends Comparable<K> & Externalizable & Copyable<K>,V extends Externalizable & Copyable<V>>
extends Object
implements Copyable<FastArrayMap<K,V>>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
boolean
containsKey
(K key) void
copyValues
(FastArrayMap<K, V> other) boolean
getArray()
int
hashCode()
boolean
isEmpty()
static <K extends Externalizable & Comparable<K> & Copyable<K>,
V extends Externalizable & Copyable<V>>
voidreadExternal
(FastArrayMap<K, V> THIS, ObjectInput in, FastArray.ReadExternalFunction<KeyValuePair<K, V>> readExternalFunction) int
size()
toString()
toStringXml
(String pre) static <K extends Externalizable & Comparable<K> & Copyable<K>,
V extends Externalizable & Copyable<V>>
voidwriteExternal
(FastArrayMap<K, V> THIS, ObjectOutput out, FastArray.WriteExternalFunction<KeyValuePair<K, V>> writeExternalFunction)
-
Constructor Details
-
FastArrayMap
public FastArrayMap() -
FastArrayMap
-
-
Method Details
-
getArray
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
-
get
-
put
-
remove
-
clear
public void clear() -
cloneDeep
-
copyValues
- Specified by:
copyValues
in interfaceCopyable<K extends Comparable<K> & Externalizable & Copyable<K>>
-
safeClone
- Specified by:
safeClone
in interfaceSafeCloneable<K extends Comparable<K> & Externalizable & Copyable<K>>
-
writeExternal
public static <K extends Externalizable & Comparable<K> & Copyable<K>,V extends Externalizable & Copyable<V>> void writeExternal(FastArrayMap<K, V> THIS, ObjectOutput out, FastArray.WriteExternalFunction<KeyValuePair<K, throws IOExceptionV>> writeExternalFunction) - Throws:
IOException
-
readExternal
public static <K extends Externalizable & Comparable<K> & Copyable<K>,V extends Externalizable & Copyable<V>> void readExternal(FastArrayMap<K, V> THIS, ObjectInput in, FastArray.ReadExternalFunction<KeyValuePair<K, throws IOException, ClassNotFoundExceptionV>> readExternalFunction) - Throws:
IOException
ClassNotFoundException
-
equals
-
hashCode
public int hashCode() -
toString
-
toStringXml
-