public class CASValue<T>
extends Object
A value with a CAS identifier.
-
Constructor Summary
Constructors
Construct a new CASValue with the given identifer and value.
-
Method Summary
-
Constructor Details
-
CASValue
public CASValue(long c,
T v)
Construct a new CASValue with the given identifer and value.
- Parameters:
c - the CAS identifier
v - the value
-
Method Details
-
getCas
public long getCas()
Get the CAS identifier.
-
getValue
Get the object value.
-