|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.epics.pvmanager.Function<T>
org.epics.pvmanager.ValueCache<T>
T - the type of the value held by the cachepublic class ValueCache<T>
Represent a building block that can store a particular value
| Constructor Summary | |
|---|---|
ValueCache(java.lang.Class<T> dataType)
Creates a new cache for the given data type. |
|
| Method Summary | |
|---|---|
java.lang.Class<T> |
getType()
The type of objects that this cache can contain. |
T |
getValue()
Returns the value in the cache. |
void |
setValue(java.lang.Object newValue)
Changes the value in the cache. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ValueCache(java.lang.Class<T> dataType)
dataType - class token for the data type| Method Detail |
|---|
public T getValue()
getValue in class Function<T>public void setValue(java.lang.Object newValue)
newValue - the new valuepublic java.lang.Class<T> getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||