Class Flag.Simple

java.lang.Object
one.microstream.util.Flag.Simple
All Implemented Interfaces:
Flag
Enclosing interface:
Flag

public static final class Flag.Simple
extends Object
implements Flag
  • Method Details

    • set

      public final boolean set​(boolean state)
      Specified by:
      set in interface Flag
    • isOn

      public final boolean isOn()
      Specified by:
      isOn in interface Flag
    • isOff

      public final boolean isOff()
      Specified by:
      isOff in interface Flag
    • on

      public final boolean on()
      Specified by:
      on in interface Flag
    • off

      public final boolean off()
      Specified by:
      off in interface Flag
    • toggle

      public final boolean toggle()
      Specified by:
      toggle in interface Flag