Module openj9.dtfj

Class AddressRange


  • public class AddressRange
    extends Object
    This class represents an address range. An address range is simply an address plus a length.
    • Constructor Detail

      • 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 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