public class CASValue<T> extends Object
Constructor and Description |
---|
CASValue(long c,
T v)
Construct a new CASValue with the given identifer and value.
|
Modifier and Type | Method and Description |
---|---|
long |
getCas()
Get the CAS identifier.
|
T |
getValue()
Get the object value.
|
String |
toString() |
public CASValue(long c, T v)
c
- the CAS identifierv
- the valueCopyright © 2017. All rights reserved.