org.licas.util

## Class KeyValue

- java.lang.Object
- - org.licas.util.KeyValue

-     public class KeyValue
      extends java.lang.Object

  Key-Value pair, where the key is a String and the value is an Object.
  Author:
    Kieran Greer

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `java.lang.String` | `key` The key
    `long` | `timeStamp` Optional time-stamp for the object.
    `java.lang.Object` | `value` The value

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `KeyValue()` Create a new instance of KeyValue

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `toString()` String-based representation of the key-value.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### timeStamp

          public long timeStamp

      Optional time-stamp for the object. Default is not set.

    - #### key

          public java.lang.String key

      The key

    - #### value

          public java.lang.Object value

      The value

  - ### Constructor Detail

    - #### KeyValue

          public KeyValue()

      Create a new instance of KeyValue

  - ### Method Detail

    - #### toString

          public java.lang.String toString()

      String-based representation of the key-value.
      Overrides:
        `toString` in class `java.lang.Object`
      Returns:
        string-based description.