ok far shot but im really tired and i dont want to logic this on my own because its been a long day
in enterprise java im selecting a list of census household data objects and parsing out the most frequently occurring total income range given certain query conditions. all of these data points are stored as primary keys in their respective entities, so im just looking for the primary keys to, in this case, total income records.
i already have my list of household objects saved, and now i need to count which total income key comes up the most frequently. am i wrong in thinking that a 2d array holding keys and counter ints would be the best way to sort this?


















