package uk.ac.leeds.ccg.geotools; import com.wallyflint.util.*; import java.util.*; public class TernaryGeoData extends SimpleGeoData{ TernarySearchTree tree = new TernarySearchTree(); HashMap hash = new HashMap(); public TernaryGeoData(){} public TernaryGeoData(GeoData d){ java.util.Enumeration e = d.getIds(); Vector v = new Vector(); Integer I; int count =0; while(e.hasMoreElements()){ I= (Integer)e.nextElement(); v.addElement(I); if(count%1000==0&&count>900){ Collections.shuffle(v); for(int i=0;i