Class TLcdAssoc

java.lang.Object
com.luciad.util.TLcdAssoc
All Implemented Interfaces:
ILcdAssoc, Serializable

public class TLcdAssoc extends Object implements ILcdAssoc
This class provides an implementation of ILcdAssoc.
See Also:
  • Field Details

  • Constructor Details

    • TLcdAssoc

      public TLcdAssoc()
      Creates a new empty TLcdAssoc, with key and value both equal to null.
    • TLcdAssoc

      public TLcdAssoc(ILcdAssoc aAssoc)
      Creates a new TLcdAssoc that has the same key/value pair as the the given ILcdAssoc.
      Parameters:
      aAssoc - the ILcdAssoc to be copied.
    • TLcdAssoc

      public TLcdAssoc(Object aKey, Object aValue)
      Creates a new TLcdAssoc with the given key/value pair.
      Parameters:
      aKey - the key.
      aValue - the corresponding value.
  • Method Details

    • getKey

      public Object getKey()
      Specified by:
      getKey in interface ILcdAssoc
      Returns:
      the key of this association.
    • setKey

      public void setKey(Object aKey)
      Description copied from interface: ILcdAssoc
      Sets the key of this association.
      Specified by:
      setKey in interface ILcdAssoc
    • getValue

      public Object getValue()
      Specified by:
      getValue in interface ILcdAssoc
      Returns:
      the value of this association.
    • setValue

      public void setValue(Object aValue)
      Description copied from interface: ILcdAssoc
      Sets the value of this association.
      Specified by:
      setValue in interface ILcdAssoc
    • cloneAsILcdAssoc

      public ILcdAssoc cloneAsILcdAssoc()
      Specified by:
      cloneAsILcdAssoc in interface ILcdAssoc
      Returns:
      a clone of this ILcdAssoc.
    • toString

      public String toString()
      Overrides:
      toString in class Object