Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can/must this Map variable be public static final
 
Similar Threads
Properties/Settings - a design question
use Java hash Map for ru/en country names or...
modifying enums
Regarding reading all the packages and all the files inside those packages from src directory itself
B&S Column Names