|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Comparable2
Similar to the Comparable Interface, this interface defines a compareTo2() method that allows the comparison between two multi-variable objects using a specified variable (a key)
Method Summary | |
---|---|
int |
compareTo2(java.lang.Object obj,
VariableType var)
Compare two objects based on a specific member variable (specified by parameter var) |
Method Detail |
---|
int compareTo2(java.lang.Object obj, VariableType var)
obj
- The passed object to compare againstvar
- The key to compare with
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |