Code example for AtomicInteger

Methods: get

0
        System.out.println("Received " + receivedEntries.incrementAndGet() + " of " + feed.getEntries().size() + " entries");
    } 
 
    public int getCount() 
    { 
        return receivedEntries.get();
    } 
 
    public AtomicInteger getReceivedEntries()
    { 
        return receivedEntries;
    } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE