Class StudentComparator

java.lang.Object
  extended by StudentComparator
All Implemented Interfaces:
java.util.Comparator<Student>

public class StudentComparator
extends java.lang.Object
implements java.util.Comparator<Student>


Constructor Summary
StudentComparator()
           
 
Method Summary
 int compare(Student s1, Student s2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

StudentComparator

public StudentComparator()
Method Detail

compare

public int compare(Student s1,
                   Student s2)
Specified by:
compare in interface java.util.Comparator<Student>