public class VolatileIntHolder extends java.lang.Object implements ThreadSafeIntHolder, java.io.Serializable
| Constructor and Description |
|---|
VolatileIntHolder() |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
void |
setValue(int value) |
public int getValue()
getValue in interface ThreadSafeIntHolderpublic void setValue(int value)
setValue in interface ThreadSafeIntHolder