/// <summary> /// Creates a new <see cref="AtomicStamped{T}"/> with the given /// initial values. /// </summary> /// <param name="initialValue"> /// The initial value /// </param> /// <param name="initialStamp"> /// The initial stamp /// </param> public AtomicStamped(T initialValue, int initialStamp) { _atomicReference = new AtomicReference <ValueIntegerPair>(new ValueIntegerPair(initialValue, initialStamp)); }