Class Atomics


  • @Deprecated(since="2021-05-27")
    public class Atomics
    extends java.lang.Object
    Deprecated.
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static boolean updateMax​(java.util.concurrent.atomic.AtomicInteger currentMax, int newValue)
      Deprecated.
       
      static boolean updateMax​(java.util.concurrent.atomic.AtomicLong currentMax, long newValue)
      Deprecated.
       
      static boolean updateMin​(java.util.concurrent.atomic.AtomicInteger currentMin, int newValue)
      Deprecated.
       
      static boolean updateMin​(java.util.concurrent.atomic.AtomicLong currentMin, long newValue)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • updateMin

        public static boolean updateMin​(java.util.concurrent.atomic.AtomicLong currentMin,
                                        long newValue)
        Deprecated.
      • updateMax

        public static boolean updateMax​(java.util.concurrent.atomic.AtomicLong currentMax,
                                        long newValue)
        Deprecated.
      • updateMin

        public static boolean updateMin​(java.util.concurrent.atomic.AtomicInteger currentMin,
                                        int newValue)
        Deprecated.
      • updateMax

        public static boolean updateMax​(java.util.concurrent.atomic.AtomicInteger currentMax,
                                        int newValue)
        Deprecated.