Map<String,MyData> map = new HashMap<String,MyData>();
...
static class MyData {
String theString;
Bitmap theBitmap;
int theInt;
...
}
Comment puis-je mettre des données dans cette carte ???Carte avec propre Datatyp (Java)
map.put("xxx", new MyData()); // Does not work
Merci;)
Oui désolé, j'Aked la mauvaise question;)
Je MENT comment puis-je écrire dans ... dada à
comme pour theString = "aaa", theInt = 22, etc ....
Merci
Quelle erreur obtenez-vous? – jjnguy
C'est Java, pas JAVA –
merci seanizer;) – Denny