/// <summary>
        /// Gets new AtomicBooleanValue instance from a boolean value.
        /// </summary>
        /// <param name="value">The initial value.</param>
        /// <returns>AtomicBooleanValue instance.</returns>
        public static AtomicBooleanValue FromValue(bool value)
        {
            AtomicBooleanValue result = new AtomicBooleanValue();

            result.Value = value;

            return(result);
        }
 /// <summary>
 /// Determines whether the specified AtomicBooleanValue is equal to this instance.
 /// </summary>
 /// <param name="value">The AtomicBooleanValue to compare with this instance.</param>
 /// <returns>true if the specified AtomicBooleanValue is equal to this instance; otherwise, false.</returns>
 public bool Equals(AtomicBooleanValue value)
 {
     return(this._flag == value._flag);
 }