DarthSandr
19-10-2007, 17:58
Salve a tutti, ho questa classe in java:
public class DatiAggiornamentoPermanenzaLista {
private static Map elencoSMS = Collections.synchronizedMap(new HashMap());
public static void addElem(DatiAggiornamentoPermanenzaVO elem, String key) {
elencoSMS.put(key, elem);
}
public static void removeElem(String key) {
elencoSMS.remove(key);
}
public static DatiAggiornamentoPermanenzaVO getElem(String key) {
return (DatiAggiornamentoPermanenzaVO)elencoSMS.get(key);
}
public static int getSizeLista() {
return elencoSMS.size();
}
}
che realizza una HashMap statica sincronizzata e vorrei sapere se e' possibile fare qualcosa del genere usando Microsoft Visual C++ 6.0.
Ciao
Sandro
public class DatiAggiornamentoPermanenzaLista {
private static Map elencoSMS = Collections.synchronizedMap(new HashMap());
public static void addElem(DatiAggiornamentoPermanenzaVO elem, String key) {
elencoSMS.put(key, elem);
}
public static void removeElem(String key) {
elencoSMS.remove(key);
}
public static DatiAggiornamentoPermanenzaVO getElem(String key) {
return (DatiAggiornamentoPermanenzaVO)elencoSMS.get(key);
}
public static int getSizeLista() {
return elencoSMS.size();
}
}
che realizza una HashMap statica sincronizzata e vorrei sapere se e' possibile fare qualcosa del genere usando Microsoft Visual C++ 6.0.
Ciao
Sandro