Interface Hashtable

All Superinterfaces:
Findable
All Known Implementing Classes:
FindableHashtable

public interface Hashtable extends Findable
An extended hashtable that can be 'found' and accessed remotely
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String key)
    Get the value of an entry from the hashtable.
    boolean
    Get the value of a boolean entry from the hashtable.
    double
    Get the value of a double entry from the hashtable.
    float
    Get the value of a float entry from the hashtable.
    int
    Get the value of an integer entry from the hashtable.
    long
    Get the value of a long entry from the hashtable.
    Get the value of a string entry from the hashtable.
    void
    put(String key, Object value)
    Add an entry to the hashtable.
    void
    putBoolean(String key, boolean value)
    Add a boolean entry to the hashtable.
    void
    putDouble(String key, double value)
    Add a double entry to the hashtable.
    void
    putFloat(String key, float value)
    Add a float entry to the hashtable.
    void
    putInt(String key, int value)
    Add an integer entry to the hashtable.
    void
    putLong(String key, long value)
    Add a long entry to the hashtable.
    void
    putString(String key, String value)
    Add a string entry to the hashtable.

    Methods inherited from interface gda.factory.Findable

    getName, setName
  • Method Details

    • putBoolean

      void putBoolean(String key, boolean value) throws DeviceException
      Add a boolean entry to the hashtable.
      Parameters:
      key - Key for entry in hashtable.
      value - Value for entry in hashtable.
      Throws:
      DeviceException
    • getBoolean

      boolean getBoolean(String key) throws DeviceException
      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

      void putInt(String key, int value) throws DeviceException
      Add an integer entry to the hashtable.
      Parameters:
      key - Key for entry in hashtable.
      value - Value for entry in hashtable.
      Throws:
      DeviceException
    • getInt

      int getInt(String key) throws DeviceException
      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

      void putLong(String key, long value) throws DeviceException
      Add a long entry to the hashtable.
      Parameters:
      key - Key for entry in hashtable.
      value - Value for entry in hashtable.
      Throws:
      DeviceException
    • getLong

      long getLong(String key) throws DeviceException
      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

      void putFloat(String key, float value) throws DeviceException
      Add a float entry to the hashtable.
      Parameters:
      key - Key for entry in hashtable.
      value - Value for entry in hashtable.
      Throws:
      DeviceException
    • getFloat

      float getFloat(String key) throws DeviceException
      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

      void putDouble(String key, double value) throws DeviceException
      Add a double entry to the hashtable.
      Parameters:
      key - Key for entry in hashtable.
      value - Value for entry in hashtable.
      Throws:
      DeviceException
    • getDouble

      double getDouble(String key) throws DeviceException
      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

      void putString(String key, String value) throws DeviceException
      Add a string entry to the hashtable.
      Parameters:
      key - Key for entry in hashtable.
      value - Value for entry in hashtable.
      Throws:
      DeviceException
    • getString

      String getString(String key) throws DeviceException
      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

      void put(String key, Object value) throws DeviceException
      Add an entry to the hashtable. The object needs to implement Serializable.
      Parameters:
      key - Key for entry in hashtable.
      value - Value for entry in hashtable.
      Throws:
      DeviceException
    • get

      Object get(String key) throws DeviceException
      Get the value of an entry from the hashtable.
      Parameters:
      key - Key for entry in hashtable.
      Returns:
      Value for entry in hashtable.
      Throws:
      DeviceException