Class DefaultStringPropertyMap

    • Constructor Detail

      • DefaultStringPropertyMap

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

      • add

        public void add​(Address addr,
                        java.lang.String value)
        Add a String value at the specified address.
        Specified by:
        add in interface StringPropertyMap
        Parameters:
        addr - address for the property
        value - value of the property
        Throws:
        TypeMismatchException - thrown if the property does not have String values.
      • getString

        public java.lang.String getString​(Address addr)
        Get the String value at the given address.
        Specified by:
        getString in interface StringPropertyMap
        Parameters:
        addr - the address from where to get the String value
        Returns:
        String or null if property not found at addr.