Closed ChrisSSocha closed 12 years ago
How about an ImmutableMap? http://google-collections.googlecode.com/svn/trunk/javadoc/com/google/common/collect/ImmutableMap.html
Then you can do getCheaters().containsKey("Country")
to see if a specific country is a cheat without having to iterate over the whole map explicitly.
Perhaps Collections.unmodifiableMap(/*map of cheaters*/)
??
Feature to be added if we have time. Monitor should add a getCheaters(...) which returns a copy of the map to participates that request it (Suggest to make a copy of the Map, and return an Iterator)