Class InteriorSelection


  • public class InteriorSelection
    extends java.lang.Object
    Specifies a selection that consists of components inside a structure.
    • Constructor Detail

      • InteriorSelection

        public InteriorSelection​(ProgramLocation from,
                                 ProgramLocation to,
                                 Address start,
                                 Address end)
        Construct a new interior selection.
        Parameters:
        from - start location
        to - end location
        start - start address
        end - end address
    • Method Detail

      • getFrom

        public ProgramLocation getFrom()
        Get the start location.
        Returns:
        ProgramLocation
      • getTo

        public ProgramLocation getTo()
        Get the end location.
        Returns:
        ProgramLocation
      • getStartAddress

        public Address getStartAddress()
        Get the start address of this selection.
        Returns:
        Address
      • getEndAddress

        public Address getEndAddress()
        Get the end address of this selection.
        Returns:
        Address
      • getByteLength

        public int getByteLength()
        Get the number of bytes contained in the selection.
        Returns:
        int
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
        See Also:
        Object.equals(Object)
      • toString

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