jetbrains.buildServer.util
Class CachedValue<T>

java.lang.Object
  extended by jetbrains.buildServer.util.CachedValue<T>

public class CachedValue<T>
extends java.lang.Object

Author:
kir Simple cached value which supports NULL resulting values

Constructor Summary
CachedValue(Calculator<T> calculator)
           
 
Method Summary
 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()