Package gda.util.findableHashtable
Interface Hashtable
- All Superinterfaces:
Findable
- All Known Implementing Classes:
FindableHashtable
An extended hashtable that can be 'found' and accessed remotely
-
Method Summary
Modifier and TypeMethodDescriptionGet the value of an entry from the hashtable.booleangetBoolean(String key) Get the value of a boolean entry from the hashtable.doubleGet the value of a double entry from the hashtable.floatGet the value of a float entry from the hashtable.intGet the value of an integer entry from the hashtable.longGet the value of a long entry from the hashtable.Get the value of a string entry from the hashtable.voidAdd an entry to the hashtable.voidputBoolean(String key, boolean value) Add a boolean entry to the hashtable.voidAdd a double entry to the hashtable.voidAdd a float entry to the hashtable.voidAdd an integer entry to the hashtable.voidAdd a long entry to the hashtable.voidAdd a string entry to the hashtable.
-
Method Details
-
putBoolean
Add a boolean entry to the hashtable.- Parameters:
key- Key for entry in hashtable.value- Value for entry in hashtable.- Throws:
DeviceException
-
getBoolean
Get the value of a boolean entry from the hashtable.- Parameters:
key- Key for entry in hashtable.- Returns:
- Value for entry in hashtable.
- Throws:
DeviceException
-
putInt
Add an integer entry to the hashtable.- Parameters:
key- Key for entry in hashtable.value- Value for entry in hashtable.- Throws:
DeviceException
-
getInt
Get the value of an integer entry from the hashtable.- Parameters:
key- Key for entry in hashtable.- Returns:
- Value for entry in hashtable.
- Throws:
DeviceException
-
putLong
Add a long entry to the hashtable.- Parameters:
key- Key for entry in hashtable.value- Value for entry in hashtable.- Throws:
DeviceException
-
getLong
Get the value of a long entry from the hashtable.- Parameters:
key- Key for entry in hashtable.- Returns:
- Value for entry in hashtable.
- Throws:
DeviceException
-
putFloat
Add a float entry to the hashtable.- Parameters:
key- Key for entry in hashtable.value- Value for entry in hashtable.- Throws:
DeviceException
-
getFloat
Get the value of a float entry from the hashtable.- Parameters:
key- Key for entry in hashtable.- Returns:
- Value for entry in hashtable.
- Throws:
DeviceException
-
putDouble
Add a double entry to the hashtable.- Parameters:
key- Key for entry in hashtable.value- Value for entry in hashtable.- Throws:
DeviceException
-
getDouble
Get the value of a double entry from the hashtable.- Parameters:
key- Key for entry in hashtable.- Returns:
- Value for entry in hashtable.
- Throws:
DeviceException
-
putString
Add a string entry to the hashtable.- Parameters:
key- Key for entry in hashtable.value- Value for entry in hashtable.- Throws:
DeviceException
-
getString
Get the value of a string entry from the hashtable.- Parameters:
key- Key for entry in hashtable.- Returns:
- Value for entry in hashtable.
- Throws:
DeviceException
-
put
Add an entry to the hashtable. The object needs to implementSerializable.- Parameters:
key- Key for entry in hashtable.value- Value for entry in hashtable.- Throws:
DeviceException
-
get
Get the value of an entry from the hashtable.- Parameters:
key- Key for entry in hashtable.- Returns:
- Value for entry in hashtable.
- Throws:
DeviceException
-