Class KeyValue

java.lang.Object
com.sparsity.sparksee.gdb.KeyValue

public class KeyValue extends Object

  • Constructor Details

    • KeyValue

      public KeyValue()

  • Method Details

    • equals

      public boolean equals(Object other)

      Overrides:
      equals in class Object
      Parameters:
      other - null
    • compareTo

      public int compareTo(KeyValue kvalue)
      See compare().

      Parameters:
      kvalue - null
    • hashCode

      public int hashCode()

      Overrides:
      hashCode in class Object
    • getKey

      public long getKey()
      Gets the key (OID) of this KeyValue pair.

      Returns:
      The Sparksee object identifier for this entry.
    • compareTo

      public int compareTo(Object value)
      See compare().

      This just works if the given object is a Value instance.

      Parameters:
      value - null
    • toString

      public String toString()
      Gets a String representation of the Value.

      Overrides:
      toString in class Object
    • getValue

      public Value getValue()
      Gets the value of this KeyValue pair.

      Returns:
      The Value associated with this entry.