org.globus.cog.gridshell.model
Class ScopeableProperties.KeyComparator
java.lang.Object
org.globus.cog.gridshell.model.ScopeableProperties.KeyComparator
- All Implemented Interfaces:
- Comparator
- Enclosing class:
- ScopeableProperties
- public static class ScopeableProperties.KeyComparator
- extends Object
- implements Comparator
Trys to convert keys to a number if can't then it compares as String
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScopeableProperties.KeyComparator
public ScopeableProperties.KeyComparator(String prefix)
compare
public int compare(Object objA,
Object objB)
- Specified by:
compare in interface Comparator