Compares two abstract paths lexicographically. The ordering defined by this method is provider specific, and in the case of the default provider, platform specific. This method does not access the file system and neither file is required to exist.
This method may not be used to compare paths that are associated with different file system providers.
other | the path compared to this path. |
equal to this path, a
value less than zero if this path is lexicographically less than
the argument, or a value greater than zero if this path is
lexicographically greater than the argument
ClassCastException
| if the paths are associated with different providers |
Diagram: Path