Class Region

    • Constructor Detail

      • Region

        public Region​(int offset,
                      int length)
        Create a new region.
        Parameters:
        offset - the offset of the region
        length - the length of the region
    • Method Detail

      • getLength

        public int getLength()
        Description copied from interface: IRegion
        Returns the length of the region.
        Specified by:
        getLength in interface IRegion
        Returns:
        the length of the region
      • getOffset

        public int getOffset()
        Description copied from interface: IRegion
        Returns the offset of the region.
        Specified by:
        getOffset in interface IRegion
        Returns:
        the offset of the region
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object