net.sourceforge.bee
Class QuestionIDComparator
java.lang.Object
net.sourceforge.bee.QuestionIDComparator
- All Implemented Interfaces:
- Comparator
public class QuestionIDComparator
- extends Object
- implements Comparator
For sorting questions by ID.
FIXME: move to pavlov.library.
Method Summary |
int |
compare(Object o1,
Object o2)
Describe compare method here. |
boolean |
equals(Object obj)
Returns true if this comparator is equal to another comparator. |
QuestionIDComparator
public QuestionIDComparator()
compare
public int compare(Object o1,
Object o2)
- Describe
compare
method here.
- Specified by:
compare
in interface Comparator
- Parameters:
o1
- an Object
valueo2
- an Object
value
- Returns:
- an
int
value
equals
public boolean equals(Object obj)
- Returns true if this comparator is equal to another comparator.
Simply returns false.
FIXME: any reason to really implement this?
- Specified by:
equals
in interface Comparator
- Overrides:
equals
in class Object
- Parameters:
obj
- an Object
value
- Returns:
- a
boolean
value