public class AlphanumericSorting
extends java.lang.Object
implements java.util.Comparator
Constructor and Description |
---|
AlphanumericSorting() |
Modifier and Type | Method and Description |
---|---|
int |
compare(java.lang.Object firstObjToCompare,
java.lang.Object secondObjToCompare)
The compare method that compares the alphanumeric strings
|
static void |
main(java.lang.String[] args)
Testing the alphanumeric sorting
|
public int compare(java.lang.Object firstObjToCompare, java.lang.Object secondObjToCompare)
compare
in interface java.util.Comparator
public static void main(java.lang.String[] args)
args
- command line args