Content deleted Content added
→Atomic wrapper classes: removed incorrect statement |
|||
Line 35:
With Java 5.0, additional wrapper classes were introduced in the {{Javadoc:SE|package=java.util.concurrent.atomic|java/util/concurrent/atomic}} package. These classes are mutable and cannot be used as a replacement for the regular wrapper classes. Instead, they provide [[atomic operation]]s for addition, increment and assignment.
The atomic wrapper classes and their corresponding
:{| class="wikitable"
Line 49:
|}
The <code>AtomicInteger</code> and <code>AtomicLong</code> classes are subclasses of the <code>Number</code> class. The <code>AtomicReference</code> class accepts the [[TypeParameter|type parameter]] <code>V</code> that specifies the type of the object [[reference (computer science)|reference]]. (See "[[Generics in Java]]" for a description of type parameters in Java
== See also ==
|