Package ghidra.util.datastruct
Class IndexRange
- java.lang.Object
-
- ghidra.util.datastruct.IndexRange
-
public class IndexRange extends java.lang.Object
Class for holding a begin and end index.
-
-
Constructor Summary
Constructors Constructor Description IndexRange(long start, long end)
Constructor for IndexRange.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
long
getEnd()
Returns the ending index of the range.long
getStart()
Returns the starting index of the range.int
hashCode()
-
-
-
Method Detail
-
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(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
- See Also:
Object.equals(java.lang.Object)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
- See Also:
Object.hashCode()
-
-