/**@class java.util.concurrent.atomic.AtomicBoolean implements java.io.Serializable @extends java.lang.Object A {@code boolean} value that may be updated atomically. See the {@link java.util.concurrent.atomic} package specification for description of the properties of atomic variables. An {@code AtomicBoolean} is used in applications such as atomically updated flags, and cannot be used as a replacement for a {@link java.lang.Boolean}. @since 1.5 @author Doug Lea */ var AtomicBoolean = { /**Returns the current value. @return {Boolean} the current value */ get : function( ) {}, /**Atomically sets the value to the given updated value if the current value {@code ==} the expected value. @param {Boolean} expect the expected value @param {Boolean} update the new value @return {Boolean} {@code true} if successful. False return indicates that the actual value was not equal to the expected value. */ compareAndSet : function( ) {}, /**Atomically sets the value to the given updated value if the current value {@code ==} the expected value. <p><a href="package-summary.html#weakCompareAndSet">May fail spuriously and does not provide ordering guarantees</a>, so is only rarely an appropriate alternative to {@code compareAndSet}. @param {Boolean} expect the expected value @param {Boolean} update the new value @return {Boolean} {@code true} if successful */ weakCompareAndSet : function( ) {}, /**Unconditionally sets to the given value. @param {Boolean} newValue the new value */ set : function( ) {}, /**Eventually sets to the given value. @param {Boolean} newValue the new value @since 1.6 */ lazySet : function( ) {}, /**Atomically sets to the given value and returns the previous value. @param {Boolean} newValue the new value @return {Boolean} the previous value */ getAndSet : function( ) {}, /**Returns the String representation of the current value. @return {String} the String representation of the current value */ toString : function( ) {}, };