Пример #1
0
 public ArrayList<T> getList(RectangleR2 r) {
   ArrayList<T> result = new ArrayList<T>();
   if (root != null) {
     root.find(r, result, height);
   }
   return result;
 }
Пример #2
0
 public Object[] get(RectangleR2 r) {
   ArrayList result = new ArrayList();
   if (root != null) {
     root.find(r, result, height);
   }
   return result.toArray();
 }