Package org.fishbolt.common.flags

The Flags Container Pattern The mechanism of bit states (flags) have been known for a long time.

See:
          Description

Class Summary
FlagsContainer This interface uses the int type as a bit field.
 

Package org.fishbolt.common.flags Description

The Flags Container Pattern

The mechanism of bit states (flags) have been known for a long time. For example, in the UNIX systems the file access attributes are saved in a bite. If the first bit (flag) is set, the file is accessible to reading, the set second bit means that the file is accessible to writing. If both the first and second flags are set, the file is accessible for reading and writing. To check these attributes, the bitwise "and" operation is used in a code.