Interface ThreadSafeBooleanHolder

All Known Implementing Classes:
SynchronizedBooleanHolder, VolatileBooleanHolder

public interface ThreadSafeBooleanHolder
An interface for thread-safe wrappers for a mutable boolean.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    gets the value of the wrapped boolean
    void
    setValue(boolean b)
    sets the value of the wrapped boolean
  • Method Details

    • getValue

      boolean getValue()
      gets the value of the wrapped boolean
    • setValue

      void setValue(boolean b)
      sets the value of the wrapped boolean