sig
type 'a t = java'util'concurrent'atomic'AtomicReference java_instance
val make : 'a -> 'a AtomicReference.t
val compare_and_set : 'a AtomicReference.t -> 'a -> 'a -> bool
val get : 'a AtomicReference.t -> 'a
val get_and_set : 'a AtomicReference.t -> 'a -> 'a
val lazy_set : 'a AtomicReference.t -> 'a -> unit
val set : 'a AtomicReference.t -> 'a -> unit
val weak_compare_and_set : 'a AtomicReference.t -> 'a -> 'a -> bool
val null : 'a AtomicReference.t
external is_null : 'a AtomicReference.t -> bool = "java is_null"
external is_not_null : 'a AtomicReference.t -> bool = "java is_not_null"
val wrap : 'a AtomicReference.t -> 'a AtomicReference.t option
val unwrap : 'a AtomicReference.t option -> 'a AtomicReference.t
end