T
- Data typepublic static class SharedObject.Instance<T> extends java.lang.Object implements SharedVariable.Instance<T>
Modifier and Type | Field and Description |
---|---|
private T |
data
Cache for last data consumed/produced
|
Constructor and Description |
---|
Instance() |
Modifier and Type | Method and Description |
---|---|
T |
get()
Get the current value
|
void |
set(T data)
Set a new value
|
private T data
public T get()
SharedVariable.Instance
get
in interface SharedVariable.Instance<T>
public void set(T data)
SharedVariable.Instance
set
in interface SharedVariable.Instance<T>
data
- SetterCopyright © 2019 ELKI Development Team. License information.