Package jetbrains.buildServer.util
Class CachedValue<T>
- java.lang.Object
-
- 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
Constructors Constructor Description CachedValue(Calculator<T> calculator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
getValue()
void
reset()
-
-
-
Constructor Detail
-
CachedValue
public CachedValue(Calculator<T> calculator)
-
-
Method Detail
-
getValue
public T getValue()
-
reset
public void reset()
-
-