Package ghidra.util.database

# Class ObjectKey

java.lang.Object
ghidra.util.database.ObjectKey

All Implemented Interfaces:
  `Comparable<ObjectKey>`

public class ObjectKey extends Object implements Comparable<ObjectKey>
An opaque handle uniquely identifying a database-backed object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ObjectKey(Table table, long key)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `compareTo(ObjectKey that)`
  `boolean`
  `equals(Object obj)`
  `int`
  `hashCode()`

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

  `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ObjectKey

    public ObjectKey(Table table, long key)

- ## Method Details

  - ### equals

    public boolean equals(Object obj)
    Overrides:
      `equals` in class `Object`

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### compareTo

    public int compareTo(ObjectKey that)
    Specified by:
      `compareTo` in interface `Comparable<ObjectKey>`