com.ibm.wsspi.kernel.service.utils
Class PathUtils.PathComparator
java.lang.Object
com.ibm.wsspi.kernel.service.utils.PathUtils.PathComparator
- All Implemented Interfaces:
- java.io.Serializable, java.util.Comparator<java.lang.String>
- Enclosing class:
- PathUtils
public static class PathUtils.PathComparator
- extends java.lang.Object
- implements java.util.Comparator<java.lang.String>, java.io.Serializable
A Path Comparator that will sort paths in order.
Carefully constructed to allow its use with NavigableMaps to return
descendant paths when used with subMap.
- See Also:
- Serialized Form
Method Summary |
int |
compare(java.lang.String o1,
java.lang.String o2)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
equals |
PATH_SEPARATOR
public static final char PATH_SEPARATOR
- See Also:
- Constant Field Values
PathUtils.PathComparator
public PathUtils.PathComparator()
compare
public int compare(java.lang.String o1,
java.lang.String o2)
- Specified by:
compare
in interface java.util.Comparator<java.lang.String>