package org.azavea.otm.data;

import org.json.JSONArray;

public abstract class ModelContainer<T> {
	protected JSONArray data;
	
	public void setData(JSONArray array) {
		this.data = array;
	}
	
	public JSONArray getData() {
		return data;
	}
	
	public abstract T[] getAll(); 
}

@@ -23,16 +23,49 @@
 .data;%0A%0A
+import java.util.LinkedHashMap;%0A%0A
 import o
@@ -292,11 +292,32 @@
 act 
-T%5B%5D
+LinkedHashMap%3CInteger,T%3E
  get

Change T[] to Hash for modelContainer