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:
- public static class PathUtils.PathComparator
- extends java.lang.Object
- implements java.util.Comparator<java.lang.String>, java.io.Serializable
Carefully constructed to allow its use with NavigableMaps to return descendant paths when used with subMap.
See Also:
Field Summary
Modifier and Type | Field and Description |
---|---|
|
PATH_SEPARATOR
|
Constructor Summary
Constructor and Description |
---|
PathUtils.PathComparator()
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
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 |
Field Detail
PATH_SEPARATOR
- public static final char PATH_SEPARATOR
See Also:
Constructor Detail
PathUtils.PathComparator
- public PathUtils.PathComparator( )
Method Detail
compare
- public int compare(java.lang.String o1,
- java.lang.String o2)
Specified by:
compare
in interface java.util.Comparator<java.lang.String>