Class DefaultSettingsPropertyMap

    • Constructor Detail

      • DefaultSettingsPropertyMap

        public DefaultSettingsPropertyMap​(java.lang.String name)
        Construct a new DefaultSettingsPropertyMap
        Parameters:
        name - of property
    • Method Detail

      • add

        public void add​(Address addr,
                        Settings value)
        Add an object value at the specified address.
        Specified by:
        add in interface SettingsPropertyMap
        Parameters:
        addr - address for the property
        value - value of the property
        Throws:
        TypeMismatchException - thrown if the property does not have Settings object values.
      • getSettings

        public Settings getSettings​(Address addr)
        Get the Settings object value at the given address.
        Specified by:
        getSettings in interface SettingsPropertyMap
        Parameters:
        addr - the address from where to get the int value
        Returns:
        Settings object or null if property not found at addr.