public class Atomics
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static boolean |
updateMax(java.util.concurrent.atomic.AtomicInteger currentMax,
int newValue) |
static boolean |
updateMax(java.util.concurrent.atomic.AtomicLong currentMax,
long newValue) |
static boolean |
updateMin(java.util.concurrent.atomic.AtomicInteger currentMin,
int newValue) |
static boolean |
updateMin(java.util.concurrent.atomic.AtomicLong currentMin,
long newValue) |
public static boolean updateMin(java.util.concurrent.atomic.AtomicLong currentMin, long newValue)
public static boolean updateMax(java.util.concurrent.atomic.AtomicLong currentMax, long newValue)
public static boolean updateMin(java.util.concurrent.atomic.AtomicInteger currentMin, int newValue)
public static boolean updateMax(java.util.concurrent.atomic.AtomicInteger currentMax, int newValue)
Copyright © 1995–2023 Webtide. All rights reserved.