Ciau, in struts come faccio a scorrere un hashmap? So con iterator etc etc, ma per recuperare la chiave?
Ciau, in struts come faccio a scorrere un hashmap? So con iterator etc etc, ma per recuperare la chiave?
Shashia
<logic:iterate>Originariamente inviato da Sashias
Ciau, in struts come faccio a scorrere un hashmap? So con iterator etc etc, ma per recuperare la chiave?
[...] if you iterate over a Map, the exposed object is of type Map.Entry that has two properties:
* key - The key under which this item is stored in the underlying Map.
* value - The value that corresponds to this key.
Andrea, andbin.dev – Senior Java developer – SCJP 5 (91%) • SCWCD 5 (94%)
java.util.function Interfaces Cheat Sheet — Java Versions Cheat Sheet