Package ghidra.program.model.gclass

# Class ClassID

java.lang.Object
ghidra.program.model.gclass.ClassID

All Implemented Interfaces:
  `Comparable<ClassID>`

public class ClassID extends Object implements Comparable<ClassID>
Unique ID of a Program Class Type. Not sure if there will be different implementation for definition vs. compiled vs. program vs. debug.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ClassID(CategoryPath categoryPath, SymbolPath symbolPath)`
  Constructor

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `compareTo(ClassID o)`
  `boolean`
  `equals(Object obj)`
  `CategoryPath`
  `getCategoryPath()`
  Returns the category path
  `SymbolPath`
  `getSymbolPath()`
  Returns the symbol path
  `int`
  `hashCode()`
  `String`
  `toString()`

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

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

- ## Constructor Details

  - ### ClassID

    public ClassID(CategoryPath categoryPath, SymbolPath symbolPath)
    Constructor
    Parameters:
      `categoryPath` - the category path for the claass
      `symbolPath` - the symbol path for the class

- ## Method Details

  - ### getCategoryPath

    public CategoryPath getCategoryPath()
    Returns the category path
    Returns:
      the category path

  - ### getSymbolPath

    public SymbolPath getSymbolPath()
    Returns the symbol path
    Returns:
      the symbol path

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`

  - ### compareTo

    public int compareTo(ClassID o)
    Specified by:
      `compareTo` in interface `Comparable<ClassID>`

  - ### hashCode

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

  - ### equals

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