Module openj9.dtfj

Class AddressRange

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 Details

    • AddressRange

      public AddressRange(long startAddress, long length)
      Create a new address range.
      Parameters:
      startAddress - the lower bound of the address range
      length - 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