Subversion Repositories eFlore/Applications.coel

Rev

Rev 238 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 238 Rev 363
Line 1... Line 1...
1
package org.tela_botanica.client.modeles;
1
package org.tela_botanica.client.modeles;
Line 2... Line 2...
2
 
2
 
3
import java.util.Iterator;
-
 
Line 4... Line -...
4
import java.util.LinkedHashMap;
-
 
5
 
3
import java.util.Iterator;
6
import com.google.gwt.json.client.JSONArray;
-
 
Line 7... Line 4...
7
import com.google.gwt.json.client.JSONObject;
4
 
Line 8... Line -...
8
import com.google.gwt.user.client.Window;
-
 
9
 
-
 
10
public class PublicationListe extends LinkedHashMap<String, Publication> {
-
 
11
 
5
import com.google.gwt.json.client.JSONObject;
Line 12... Line 6...
12
	/**
6
 
13
	 * 
-
 
14
	 */
7
public class PublicationListe extends aDonneeListe<Publication> {
15
	private static final long serialVersionUID = 2600314321196345072L;
8
 
-
 
9
	private static final long serialVersionUID = 2600314321196345072L;
16
 
10
 
17
	public PublicationListe(int taille)
11
	public PublicationListe(int taille) {
18
	{
12
		super(taille);
19
		super(taille);
13
	}
20
	}
14
	
21
	/**
-
 
22
	 * Constructeur pour une liste d'institutions
15
	/**
-
 
16
	 * Constructeur pour une liste d'institutions
23
	 * @param dates
17
	 * @param dates
-
 
18
	 */
24
	 */
19
	public PublicationListe(JSONObject publications) {
-
 
20
		super(publications.size()) ;
25
	public PublicationListe(JSONObject publications) 
21
		
26
	{
22
		Iterator<String> it = publications.keySet().iterator();
27
		super(publications.size()) ;
23
		while (it.hasNext()) {
28
		for (Iterator<String> it = publications.keySet().iterator() ; it.hasNext();) {
24
			JSONObject publicationCourante = publications.get(it.next()).isObject() ;
29
			JSONObject publicationCourante = publications.get(it.next()).isObject() ;
25