Class DefaultVariableResolver

    • Constructor Detail

      • DefaultVariableResolver

        public DefaultVariableResolver()
        Deprecated.
        Creates a new variable resolver with default capacity.
      • DefaultVariableResolver

        public DefaultVariableResolver​(int initialCapacity,
                                       float loadFactor)
        Deprecated.
        Creates a new variable resolver and initializes both - capacity & load factor
        Parameters:
        initialCapacity - the initial capacity of the variable container
        loadFactor - the load factor of the variable container
        See Also:
        HashMap(int, float)
      • DefaultVariableResolver

        public DefaultVariableResolver​(int initialCapacity)
        Deprecated.
        Creates a new variable resolver with specified initial capacity
        Parameters:
        initialCapacity - the initial capacity of the variable container
        See Also:
        HashMap(int)
      • DefaultVariableResolver

        public DefaultVariableResolver​(Map source)
        Deprecated.
        Creates a new variable resolver copying the variables from the given map.
        Parameters:
        source - the map whose variables are to be placed in this resolver.
        See Also:
        HashMap(Map)
    • Method Detail

      • resolve

        public String resolve​(String variable)
        Deprecated.
        Returns the string representation of the value stored under the variable name in this map. If no value is stored under the variable name, null is returned.
        Specified by:
        resolve in interface VariableResolver
        Parameters:
        variable - The name of the variable whose value is to be returned.
        Returns:
        The variable value or null if there is no entry with the given name in this map.