java.io.Externalizable, java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,java.lang.Object>, Formatable, TypedFormatpublic class FormatableHashtable extends java.util.Hashtable<java.lang.Object,java.lang.Object> implements Formatable
| Constructor | Description |
|---|---|
FormatableHashtable() |
Niladic constructor for formatable
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
getBoolean(java.lang.Object key) |
|
int |
getInt(java.lang.Object key) |
|
long |
getLong(java.lang.Object key) |
|
int |
getTypeFormatId() |
Get the formatID which corresponds to this class.
|
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value) |
Our special put method that wont barf
on a null value.
|
void |
putBoolean(java.lang.Object key,
boolean value) |
|
void |
putInt(java.lang.Object key,
int value) |
|
void |
putLong(java.lang.Object key,
long value) |
|
void |
readExternal(java.io.ObjectInput in) |
Read the hash table from a stream of stored objects.
|
void |
writeExternal(java.io.ObjectOutput out) |
Write the hash table out.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, valuespublic FormatableHashtable()
public java.lang.Object put(java.lang.Object key,
java.lang.Object value)
put in interface java.util.Map<java.lang.Object,java.lang.Object>put in class java.util.Hashtable<java.lang.Object,java.lang.Object>Hashtablepublic void putInt(java.lang.Object key,
int value)
public int getInt(java.lang.Object key)
public void putLong(java.lang.Object key,
long value)
public long getLong(java.lang.Object key)
public void putBoolean(java.lang.Object key,
boolean value)
public boolean getBoolean(java.lang.Object key)
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizableout - write bytes herejava.io.IOException - thrown on errorpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablein - read this.java.io.IOException - thrown on errorjava.lang.ClassNotFoundException - thrown on errorpublic int getTypeFormatId()
getTypeFormatId in interface TypedFormatApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.