com.mchange.v2.holders
Class SynchronizedDoubleHolder
java.lang.Object
com.mchange.v2.holders.SynchronizedDoubleHolder
- All Implemented Interfaces:
- ThreadSafeDoubleHolder, Serializable
public class SynchronizedDoubleHolder
- extends Object
- implements ThreadSafeDoubleHolder, Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SynchronizedDoubleHolder
public SynchronizedDoubleHolder()
getValue
public double getValue()
- Specified by:
getValue
in interface ThreadSafeDoubleHolder
setValue
public void setValue(double value)
- Specified by:
setValue
in interface ThreadSafeDoubleHolder