Class RootExecutionFrame

  • All Implemented Interfaces:
    ExecutionFrame

    public class RootExecutionFrame
    extends java.lang.Object
    implements ExecutionFrame
    This is a thread safe implementation of a root execution frame that automatically registers all the built in functions.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Object> getAllValues()  
      java.lang.Object getRootObject()  
      java.lang.Object getValue​(java.lang.String symbol)  
      boolean isDefined​(java.lang.String symbol)  
      void setRootObject​(java.lang.Object v)  
      void setValue​(java.lang.String symbol, java.lang.Object value)  
      • Methods inherited from class java.lang.Object

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

      • getValue

        public java.lang.Object getValue​(java.lang.String symbol)
        Specified by:
        getValue in interface ExecutionFrame
      • isDefined

        public boolean isDefined​(java.lang.String symbol)
        Specified by:
        isDefined in interface ExecutionFrame
      • setValue

        public void setValue​(java.lang.String symbol,
                             java.lang.Object value)
        Specified by:
        setValue in interface ExecutionFrame
      • getAllValues

        public java.util.Map<java.lang.String,​java.lang.Object> getAllValues()
        Specified by:
        getAllValues in interface ExecutionFrame