/// <summary> /// Returns a value indicating whether this instance and a specified <see cref="AtomicLong"/> object represent the same value. /// </summary> /// <param name="other">An object to compare to this instance.</param> /// <returns><c>true</c> if <paramref name="other"/> is equal to this instance; otherwise, <c>false</c>.</returns> public bool Equals(AtomicLong other) { return(this.Value == other.Value); }
private BoxedInt64(long value) { _storage = null; Slot = new DataSlot(value); }
public static BoxedInt64 Create(AtomicLong atomicInteger) { return(new BoxedInt64(atomicInteger)); }
private BoxedInt64(AtomicLong value) { Slot = null; _storage = value; }