Package ghidra.util.datastruct
Class IndexRange
- java.lang.Object
-
- ghidra.util.datastruct.IndexRange
-
public class IndexRange extends java.lang.ObjectClass 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 booleanequals(java.lang.Object obj)longgetEnd()Returns the ending index of the range.longgetStart()Returns the starting index of the range.inthashCode()
-
-
-
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:
equalsin classjava.lang.Object- See Also:
Object.equals(java.lang.Object)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object- See Also:
Object.hashCode()
-
-