Package ghidra.trace.model

# Class DefaultTraceSpan

java.lang.Object
ghidra.trace.model.DefaultTraceSpan

All Implemented Interfaces:
  `TraceSpan`, `Comparable<TraceSpan>`

public class DefaultTraceSpan extends Object implements TraceSpan
NOTE: This is used to mark (trace,snap) regardless of whether that snapshot is actually in the database.... Cannot just use TraceSnapshot here.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DefaultTraceSpan(Trace trace, Lifespan span)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `compareTo(TraceSpan that)`
  `boolean`
  `equals(Object obj)`
  `Lifespan`
  `getSpan()`
  `Trace`
  `getTrace()`
  `int`
  `hashCode()`
  `String`
  `toString()`

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

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

- ## Constructor Details

  - ### DefaultTraceSpan

    public DefaultTraceSpan(Trace trace, Lifespan span)

- ## Method Details

  - ### getTrace

    public Trace getTrace()
    Specified by:
      `getTrace` in interface `TraceSpan`

  - ### getSpan

    public Lifespan getSpan()
    Specified by:
      `getSpan` in interface `TraceSpan`

  - ### toString

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

  - ### equals

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

  - ### hashCode

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

  - ### compareTo

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