- All Implemented Interfaces:
- Enclosing class:
ThreadSafetyutility class can be used by either the bug checker that enforces immutability or by the bug checker that enforces thread-safety. Depending on which of these bug checkers is using this utility, different messages become appropriate.
Enum Constant Details
valuespublic static ThreadSafety.Purpose values()Returns an array containing the constants of this enum type, in the order they are declared.
- an array containing the constants of this enum type, in the order they are declared
valueOfReturns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)