Class SegmentOptions


public class SegmentOptions extends Object
Stores the combinations of bit flags that can be used in the segment header options. Whilst this could be defined in Segment, it's cleaner to pull it out into a separate class, not least because methods can then be used to determine the semantic meaning of the flags. In languages with a pre-processor, these may be defined by macros that do bitflag manipulation instead.