|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jcon.data.NumericPrefixComparer
public class NumericPrefixComparer
Compares objects first by any numeric prefix, then alphabetically.
| Constructor Summary | |
|---|---|
NumericPrefixComparer()
|
|
| Method Summary | |
|---|---|
int |
compare(java.lang.Object a,
java.lang.Object b)
|
static NumericPrefixComparer |
singleton()
|
| 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 |
|---|
public NumericPrefixComparer()
| Method Detail |
|---|
public static NumericPrefixComparer singleton()
public final int compare(java.lang.Object a,
java.lang.Object b)
compare in interface java.util.Comparator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||