OK, so here's the deal. Our class has an assignment that has us researching on different sorting algorithms and writing a report on it. First, we have to implement the algorithm to be able to test its functionality. The one I chose is QuickSort. At school, I found a QuickSort class from this site:
http://www.java-tips.org/java-se-tips/java.lang/quick-sort-implementation-with-median-of-three-partitioning-and-cutoff-for-small-a.html
It compiled fine at school but when I brought it home it stopped working. I hadn't even modified ANYTHING yet. I would get this warning:
Quote:
[unchecked] unchecked call to compareTo(T) as a member of the raw type java.lang.Comparable
Can someone please help me? That was the simplest implementation of the QuickSort and the only one I could find that was appropriate for my assignment. And the assignment's due pretty soon (Tuesday). Thanks.