lang:java:dictionary
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
lang:java:dictionary [2016/10/30 20:14] – Création root | lang:java:dictionary [2020/04/29 22:19] (Version actuelle) – Suppression d'un lien mort et non indispensable root | ||
---|---|---|---|
Ligne 6: | Ligne 6: | ||
} | } | ||
</ | </ | ||
- | [[http:// | + | |
+ | =====keys de Hashtable vers string===== | ||
+ | <code java> | ||
+ | String.join(", | ||
+ | </code> | ||
+ | |||
+ | =====Enumerable vers Iterable===== | ||
+ | Pour utiliser String.join avec un dictionnaire par exemple. | ||
+ | < | ||
+ | Collections.list(dict.keys()); | ||
+ | </ |
lang/java/dictionary.1477854884.txt.gz · Dernière modification : 2016/10/30 20:14 de root