public class Atomics extends Object
Modifier and Type | Method and Description |
---|---|
static void |
updateMax(AtomicInteger currentMax,
int newValue) |
static void |
updateMax(AtomicLong currentMax,
long newValue) |
static void |
updateMin(AtomicInteger currentMin,
int newValue) |
static void |
updateMin(AtomicLong currentMin,
long newValue) |
public static void updateMin(AtomicLong currentMin, long newValue)
public static void updateMax(AtomicLong currentMax, long newValue)
public static void updateMin(AtomicInteger currentMin, int newValue)
public static void updateMax(AtomicInteger currentMax, int newValue)
Copyright © 1995-2016 Mort Bay Consulting. All Rights Reserved.