public ArrayList<T> getList(RectangleR2 r) { ArrayList<T> result = new ArrayList<T>(); if (root != null) { root.find(r, result, height); } return result; }
public Object[] get(RectangleR2 r) { ArrayList result = new ArrayList(); if (root != null) { root.find(r, result, height); } return result.toArray(); }