Class CachedValue<T>


  • public class CachedValue<T>
    extends java.lang.Object
    Author:
    kir Simple cached value which supports NULL resulting values
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T getValue()  
      void reset()  
      • Methods inherited from class java.lang.Object

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

      • CachedValue

        public CachedValue​(Calculator<T> calculator)
    • Method Detail

      • getValue

        public T getValue()
      • reset

        public void reset()