@@ -0,0 +1,1171 @@
+package com.gochinatv.cdn.api.jdk.atomic;%0A%0A%0Aimport java.util.concurrent.atomic.AtomicInteger;%0A%0A/**%0A * http://ifeve.com/java-atomic/%0A * http://blog.csdn.net/u013803262/article/details/72452932%0A * @author jacktomcat%0A *%0A */%0A%0Apublic class AtomicIntegerTest01 %7B%0A%0A%0A%0A    public static void main(String%5B%5D args) throws InterruptedException %7B%0A%0A        AtomicInteger atomicInt = new AtomicInteger(10);%0A        int get = atomicInt.get();%0A        System.out.println(%22%E5%88%9D%E5%A7%8B%E5%80%BC get: %22+get);%0A%0A        atomicInt.set(15);%0A        int get1 = atomicInt.get();%0A        System.out.println(%22set(15) %E4%B9%8B%E5%90%8E get: %22+get1);%0A%0A        int andSet = atomicInt.getAndSet(12);%0A        int get2 = atomicInt.get();%0A        System.out.println(%22getAndSet(12): %E8%80%81%E5%80%BC: %22 + andSet + %22 %E6%96%B0%E5%80%BC: %22+get2);%0A%0A        /*%0A        atomicInt.accumulateAndGet()%0A        atomicInt.addAndGet()%0A        atomicInt.compareAndSet()%0A        atomicInt.decrementAndGet()%0A%0A        atomicInt.getAndAccumulate()%0A        atomicInt.getAndAdd()%0A        atomicInt.getAndDecrement();%0A        atomicInt.getAndIncrement();%0A%0A        atomicInt.incrementAndGet();%0A%0A        atomicInt.updateAndGet()%0A        atomicInt.weakCompareAndSet();%0A        */%0A%0A    %7D%0A%0A%0A%0A%7D%0A

add atomicInteger support