- java.lang.Object
-
- com.ibm.dtfj.corereaders.zos.dumpreader.AddressRange
-
public class AddressRange extends Object
This class represents an address range. An address range is simply an address plus a length.
-
-
Constructor Summary
Constructors Constructor Description AddressRange(long startAddress, long length)
Create a new address range.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getEndAddress()
Get the upper bound of this address range (inclusive).long
getLength()
Get the length of this address range.long
getStartAddress()
Get the lower bound of this address range.
-
-
-
Method Detail
-
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
-
-