Uses of Class
org.apache.juneau.commons.lang.Flag
Packages that use Flag
Package
Description
Language utilities including value wrappers, version management, string formatting,
state enums, and other common language constructs.
-
Uses of Flag in org.apache.juneau.commons.lang
Methods in org.apache.juneau.commons.lang that return FlagModifier and TypeMethodDescriptionstatic FlagFlag.create()Creates a new flag initialized tofalse .Executes a code snippet if the flag isfalse .Executes a code snippet if the flag istrue .static FlagFlag.of(boolean value) Creates a new flag with the specified initial state.Flag.set()Sets the flag totrue .Flag.setIf(boolean value) Sets the flag totrue if the specified value istrue .Flag.unset()Sets the flag tofalse .