Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Mar 15th, 2010 | Syntax: Java | Size: 0.48 KB | Hits: 42 | Expires: Never
Copy text to clipboard
  1. if(q.contains(s)){
  2.                         for(int i = 0; i < Llist.size(); i++){
  3.                                 returnList.add(i, Llist.get(i));
  4.                         }
  5.                         IntervalTreeNode tempr = rsub;
  6.                         float sr = tempr.splitValue;
  7.                         while(tempr!=null){
  8.                                 if(q.contains(sr)){
  9.                                         for(int i = 0; i<tempr.rightIntervals.size(); i++){
  10.                                                 returnList.add(returnList.size(), tempr.rightIntervals.get(i));
  11.                                         }
  12.                                 }
  13.                                 else if(sr < q.leftEndPoint){
  14.                                         tempr = tempr.rightChild;
  15.                                 }
  16.                                 else{
  17.                                         tempr = tempr.leftChild;
  18.                                 }
  19.                         }