Code example for AtomicInteger

Methods: addAndGet

0
        return this.referenceCount.incrementAndGet();
    } 
 
 
    int increment(final int n) {
        return this.referenceCount.addAndGet(n);
    } 
 
 
    /** 
     * ¶ÔÎļþ¼õÉÙÒ»¸öÒýÓüÆÊý 
     *  
     * @return ¼õÉÙºóµÄÒýÓüÆÊý 
     */ 
    int decrement() { 
        return this.referenceCount.decrementAndGet();
    } 
 
 
    int decrement(final int n) {
Contextual code suggestions in your IDE  Get Codota for Java