Project

General

Profile

« Previous | Next » 

Revision 40135

finished stats data

View differences:

Browse.java
31 31
		}
32 32
	}
33 33

  
34
	private Map<Category, List<Tuple<String, Integer>>> data;
34
	private Map<Category, List<Triple<String, String, Integer>>> data;
35 35

  
36
	public Browse(Map<Category, List<Tuple<String, Integer>>> data) {
36
	public Browse(Map<Category, List<Triple<String, String, Integer>>> data) {
37 37
		this.data = data;
38 38
	}
39 39

  
40 40
	public Browse() {
41 41
	}
42 42

  
43
	public List<Tuple<String, Integer>> getData(Category category) {
43
	public List<Triple<String, String, Integer>> getData(Category category) {
44 44
		if (data.containsKey(category))
45
			return new ArrayList<Tuple<String, Integer>>(data.get(category));
45
			return new ArrayList<Triple<String, String, Integer>>(data.get(category));
46 46
		else
47
			return new ArrayList<Tuple<String, Integer>>();
47
			return new ArrayList<Triple<String, String, Integer>>();
48 48
	}
49 49

  
50 50
	public List<Category> getCategories() {

Also available in: Unified diff