@Override
public abstract int compareTo (Path other)

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.

Parameters:
other    the path compared to this path.

Returns:  zero if the argument is 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

Exceptions:
ClassCastException     if the paths are associated with different providers