Class BuiltInFunctions.GenerateGFunctionClass

  • Enclosing class:
    BuiltInFunctions

    public static class BuiltInFunctions.GenerateGFunctionClass
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​com.googlecode.aviator.runtime.type.AviatorBoolean>> memorizedMap  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static com.googlecode.aviator.runtime.type.AviatorFunction generateGFunction​(java.lang.String name, RoleManager rm)
      generateGFunction is the factory method of the g(_, _) function.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • memorizedMap

        private static java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​com.googlecode.aviator.runtime.type.AviatorBoolean>> memorizedMap
    • Constructor Detail

      • GenerateGFunctionClass

        public GenerateGFunctionClass()
    • Method Detail

      • generateGFunction

        public static com.googlecode.aviator.runtime.type.AviatorFunction generateGFunction​(java.lang.String name,
                                                                                            RoleManager rm)
        generateGFunction is the factory method of the g(_, _) function.
        Parameters:
        name - the name of the g(_, _) function, can be "g", "g2", ..
        rm - the role manager used by the function.
        Returns:
        the function.