Interface Value.Locked

Enclosing interface:
Value<T>

public static interface Value.Locked

Controls whether a Value instance is locked.

Locking a value prevents it from being changed, it does not prevent it from being set.

  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    is()
     
    void
    set(boolean locked)
     
  • Method Details

    • is

      boolean is()
      Returns:
      true if the value is locked
    • set

      void set(boolean locked)
      Parameters:
      locked - the locked status