List of usage examples for java.util.concurrent.atomic AtomicInteger lazySet
public final void lazySet(int newValue)
From source file:Main.java
public static void main(String[] argv) throws Exception { AtomicInteger atomicInteger = new AtomicInteger(); atomicInteger.lazySet(2); System.out.println(atomicInteger); }