|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.starbase.util.StringCompare
| Method Summary | |
int |
compare(java.lang.Object a,
java.lang.Object b)
Compare two Strings. |
boolean |
equals(java.lang.Object source)
returns true if this object instance is equal to the source |
int |
hashCode()
returns a unique hash for all instances of this type |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public final int compare(java.lang.Object a,
java.lang.Object b)
e.g. +1 (or any positive number) if a > b
0 if a == b
-1 (or any negative number) if a < b
compare in interface SortComparepublic boolean equals(java.lang.Object source)
equals in class java.lang.Objectsource - Object the source to comapre with
public int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||