Class AddressingModeWrapper


  • public final class AddressingModeWrapper
    extends java.lang.Object
    Wrapper class for addressing mode primitives that allows checking equality and calculating hash code. This is needed to avoid initializations of the same resources that would overwrite each other.
    • Constructor Detail

      • AddressingModeWrapper

        public AddressingModeWrapper​(Primitive mode)
    • Method Detail

      • getModePrimitive

        public Primitive getModePrimitive()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • 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