Amit Patole wrote:Any further help !
Amit Patole wrote:I will start on steve's suggestion of using Collections.sort(List,Comparator) to further refine the performance hit.
Please let me know if I am in the incorrect direction !
Tony Docherty wrote:What class type is notRealParts?
Assuming it's a type of List, if you are doing lots of remove operations on it you may get some performance improvements by using a LinkedList.