Class DynamicVariable<T>


  • public class DynamicVariable<T>
    extends java.lang.Object
    A dynamic variable is a value associated to a specific thread and scope. The value is brought into scope with the with(T, com.db4o.foundation.Closure4) method.
    • Constructor Detail

      • DynamicVariable

        public DynamicVariable()
    • Method Detail

      • value

        public T value()
      • value

        public void value​(T value)
      • defaultValue

        protected T defaultValue()
      • with

        public java.lang.Object with​(T value,
                                     Closure4 block)
      • with

        public void with​(T value,
                         java.lang.Runnable block)