TheITMuslim
1مشاركة
0السمعة
0موضوع منشور
13 ديسمبر 2007تاريخ الانضمام
6 أكتوبر 2008آخر زيارة
282مشاهدة للملف
- Changing The Class To Be Like Generic: CompareTo Problem
Salam 3liekom my brother Final Heaven.I khnow what u mean,and i found the solution.U should implement Comparable in class Node like this: public class Node implements Comparable{ . . . public int compareTo(Object o) { if(this.item>((Node) o).item) return 1; el…