public static class SharedInteger.Instance extends java.lang.Object implements SharedVariable.Instance<java.lang.Integer>
Modifier and Type | Field and Description |
---|---|
private int |
data
Cache for last data consumed/produced
|
Constructor and Description |
---|
Instance() |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
get()
Deprecated.
use
intValue() ! |
int |
intValue()
Get the variables value.
|
void |
set(int data)
Set the variables value.
|
void |
set(java.lang.Integer data)
Deprecated.
use
set(int) ! |
@Deprecated public java.lang.Integer get()
intValue()
!SharedVariable.Instance
get
in interface SharedVariable.Instance<java.lang.Integer>
@Deprecated public void set(java.lang.Integer data)
set(int)
!SharedVariable.Instance
set
in interface SharedVariable.Instance<java.lang.Integer>
data
- Setterpublic int intValue()
public void set(int data)
data
- New valueCopyright © 2019 ELKI Development Team. License information.