Class DWARFRange

  • All Implemented Interfaces:
    java.lang.Comparable<DWARFRange>

    public class DWARFRange
    extends java.lang.Object
    implements java.lang.Comparable<DWARFRange>
    Holds the start (inclusive) and end (exclusive) addresses of a range.
    • Constructor Summary

      Constructors 
      Constructor Description
      DWARFRange​(long start, long end)
      Constructs a new DWARFRange using start and end values.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compareTo​(DWARFRange other)  
      long getFrom()
      Returns starting address.
      long getTo()
      Returns ending address, exclusive.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DWARFRange

        public DWARFRange​(long start,
                          long end)
        Constructs a new DWARFRange using start and end values.
        Parameters:
        start - long starting address, inclusive
        end - long ending address, exclusive
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • compareTo

        public int compareTo​(DWARFRange other)
        Specified by:
        compareTo in interface java.lang.Comparable<DWARFRange>
      • getFrom

        public long getFrom()
        Returns starting address.
        Returns:
        long starting address
      • getTo

        public long getTo()
        Returns ending address, exclusive.
        Returns:
        long ending address, exclusive.