title: AtomicInteger set method is Atomic?
body: <p>Why in <code>AtomicInteger</code>or another Atomic class has define this set method?</p>
  
  <p><strong>example code:</strong></p>
  
  <pre><code> /**
   * Sets to the given value.
   *
   * @param newValue the new value
   */
  public final void set(int newValue) {
      value = newValue;
  }
  </code></pre>
  
  <p><strong>or</strong></p>
  
  <pre><code>/**
   * Sets to the given value.
   *
   * @param newValue the new value
   */
  public final void set(V newValue) {
      value = newValue;
  }
  </code></pre>
  
  <p>this method not annotation  <strong>atomic</strong> ?this <code>set()</code> method is mean he is not atomic yet? </p>
  
  <p>i don't understand why in AtomicInteger or another Atomic (for example:AtomicReference) have no atomic method?
  thanks!</p>