What is the best way in Java to store a value and one piece of corresponding information about that value? As great as it might be to use, I have a feeling that a simple POJO is a bit of overkill here.
Problem is as follows: I have a form object which contains different types of "weight" values. Some of these weights may need to show up in bold on my JSP page, and at other times they do not.
One way to represent this information could be to use an array of size 2, where the first value is the weight and the second value is "Y" or "N" to represent its bold state.
Another option is to use a List which also contains two values. Or to use an enum, or a custom type of object etc. etc.
From a design point of view, what is the cleanest, most effective way to represent this basic form of data?