Class AtomicUtils

    • Constructor Detail

      • AtomicUtils

        protected AtomicUtils()
    • Method Detail

      • or

        public static void or​(AtomicBoolean atomicBoolean,
                              boolean value)
      • and

        public static void and​(AtomicBoolean atomicBoolean,
                               boolean value)
      • setIfNotNull

        public static <T> void setIfNotNull​(@NotNull
                                            @NotNull AtomicReference<T> ref,
                                            @Nullable
                                            T value)
        Sets a value if the supplied value is not null.