Class AddressRange
java.lang.Object
com.ibm.dtfj.corereaders.zos.dumpreader.AddressRange
This class represents an address range. An address range is simply an address plus
a length.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
Get the upper bound of this address range (inclusive).long
Get the length of this address range.long
Get the lower bound of this address range.
-
Constructor Details
-
AddressRange
public AddressRange(long startAddress, long length) Create a new address range.- Parameters:
startAddress
- the lower bound of the address rangelength
- the length of the address range
-
-
Method Details
-
getStartAddress
public long getStartAddress()Get the lower bound of this address range.- Returns:
- the start address
-
getEndAddress
public long getEndAddress()Get the upper bound of this address range (inclusive).- Returns:
- the end address
-
getLength
public long getLength()Get the length of this address range.- Returns:
- the length
-