Example #1
0
 /// <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);
 }
Example #2
0
 private BoxedInt64(long value)
 {
     _storage = null;
     Slot     = new DataSlot(value);
 }
Example #3
0
 public static BoxedInt64 Create(AtomicLong atomicInteger)
 {
     return(new BoxedInt64(atomicInteger));
 }
Example #4
0
 private BoxedInt64(AtomicLong value)
 {
     Slot     = null;
     _storage = value;
 }