Class MemSearchResult

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

    public class MemSearchResult
    extends java.lang.Object
    implements java.lang.Comparable<MemSearchResult>
    A class that represents a memory search hit at an address.
    • Constructor Detail

      • MemSearchResult

        public MemSearchResult​(Address address,
                               int length)
    • Method Detail

      • getAddress

        public Address getAddress()
      • getLength

        public int getLength()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

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

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

        public boolean addressEquals​(Address a)
        Returns true if the given address equals the address of this search result
        Parameters:
        a - the other address
        Returns:
        true if the given address equals the address of this search result