sig
type t = java'util'concurrent'atomic'AtomicInteger java_instance
val make : int32 -> AtomicInt32.t
val add_and_get : AtomicInt32.t -> int32 -> int32
val compare_and_set : AtomicInt32.t -> int32 -> int32 -> bool
val decrement_and_get : AtomicInt32.t -> int32
val get : AtomicInt32.t -> int32
val get_and_add : AtomicInt32.t -> int32 -> int32
val get_and_decrement : AtomicInt32.t -> int32
val get_and_increment : AtomicInt32.t -> int32
val get_and_set : AtomicInt32.t -> int32 -> int32
val increment_and_get : AtomicInt32.t -> int32
val lazy_set : AtomicInt32.t -> int32 -> unit
val set : AtomicInt32.t -> int32 -> unit
val weak_compare_and_set : AtomicInt32.t -> int32 -> int32 -> bool
val null : AtomicInt32.t
external is_null : AtomicInt32.t -> bool = "java is_null"
external is_not_null : AtomicInt32.t -> bool = "java is_not_null"
val wrap : AtomicInt32.t -> AtomicInt32.t option
val unwrap : AtomicInt32.t option -> AtomicInt32.t
end