Bonjour , voici mon code.
J'aimerais récupérer tous les articles de type Article de la variable articles.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9 HashMap<Article,String> articles = new HashMap<Article,String>(); //Ajout d'articles dans articles Iterator it = (Iterator)this.articles.keySet().iterator(); while(it.hasNext()){ Article at = ....... ; // A COMPLETER Integer it = ....... ; //A COMPLETER articlestemp.put(at, it) }
Partager