This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Mobile » Android
Reply 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: 397
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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: can/must this Map variable be public static final
 
Similar Threads
use Java hash Map for ru/en country names or...
modifying enums
Properties/Settings - a design question
B&S Column Names
Regarding reading all the packages and all the files inside those packages from src directory itself