Class IndexRange

java.lang.Object
ghidra.util.datastruct.IndexRange

public class IndexRange extends Object
Class for holding a begin and end index.
  • Constructor Details

    • IndexRange

      public IndexRange(long start, long end)
      Constructor for IndexRange.
      Parameters:
      start - the starting index of the range.
      end - the ending index of the range.
  • Method Details

    • getStart

      public long getStart()
      Returns the starting index of the range.
      Returns:
      the starting index of the range.
    • getEnd

      public long getEnd()
      Returns the ending index of the range.
      Returns:
      the ending index of the range.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
      See Also:
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
      See Also: