aspose file tools*
The moose likes Android and the fly likes can/must this Map variable be public static final Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "can/must this Map variable be public static final" Watch "can/must this Map variable be public static final" New topic
Author

can/must this Map variable be public static final

Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 403
trying develop a Russian/English Flag game, given the flag image you choose in Russian or in English modes...

Since English country names get from country file image names, can have a Java generic Map key=englishCountryName & value=inRussianEquivalent.... to do the Russian part???

Or exist other way? if you think this is good choice, where insert this COUNTRIES Map<String, String> (about 200 entries) , in an Activity or in a Java file? can/must this Map variable be public static final?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: can/must this Map variable be public static final