I have a list of UI options . Each options are again having a list of sub options. I need a simple logic that enables me to trap those options correctly using Bit manipulations (like OR 'ring or AND'ing). Presently I am having a set of Integer Numbers that maps to the respective options , but this is not feasible.