Represents a collection of 64 boolean (on/off) flags. Individual flags are represented by powers of 2. For example, Flag 1 = 1 Flag 2 = 2 Flag 3 = 4 Flag 4 = 8
or using shift operator to make numbering easier: Flag 1 = 1 << 0 Flag 2 = 1 << 1 Flag 3 = 1 << 2 Flag 4 = 1 << 3
There cannot be a flag with a value of 3 because that represents Flag 1 and Flag 2 both being on/true.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.