lang:java:dictionary
Ceci est une ancienne révision du document !
Table des matières
for each
for (Enumeration e = propList.keys(); e.hasMoreElements();) { String key = (String)e.nextElement(); String value = (String)propList.get(key); }
org.cauldron.newton.logging.osgi.impl.LogManagementConfigManager - Java Examples, Archive
keys de Hashtable vers string
String.join(", ", hash.keySet())
Enumerable vers Iterable
Pour utiliser String.join avec un dictionnaire par exemple.
Collections.list(dict.keys());
lang/java/dictionary.1504976944.txt.gz · Dernière modification : 2017/09/09 19:09 de root