title: How to increment AtomicInteger twice?
body: <p>I need to increment AtomicInteger twice, like:
  ++i;
  ++i;
  By the endless ciycle, i want to increment counter twice and check it on the parity.
  But i'm always getting the variable which was incremented once. How to fix it? </p>