Class FunctionLibrary


  • public class FunctionLibrary
    extends Object
    Library holding a set of functions. Each library defines a function prefix as namespace, so there will be no naming conflicts when using multiple libraries at a time.
    Author:
    Christoph Deppisch
    • Constructor Detail

      • FunctionLibrary

        public FunctionLibrary()
    • Method Detail

      • knowsFunction

        public boolean knowsFunction​(String functionName)
        Does this function library know a function with the given name.
        Parameters:
        functionName - name to search for.
        Returns:
        boolean flag to mark existence.
      • setMembers

        public void setMembers​(Map<String,​Function> members)
        Set the function library content.
        Parameters:
        members -
      • getMembers

        public Map<String,​Function> getMembers()
        Gets the function library members.
        Returns:
      • getPrefix

        public String getPrefix()
        Get the library prefix.
        Returns:
      • setPrefix

        public void setPrefix​(String prefix)
        Set the library prefix.
        Parameters:
        prefix -
      • getName

        public String getName()
        Get the function library name.
        Returns:
      • setName

        public void setName​(String name)
        Get the name of the function library.
        Parameters:
        name -