code: @Override
      public int compareTo( Path o ) {
          if ( !getFileSystem().provider().equals( o.getFileSystem().provider() ) ) {
              throw new ClassCastException( "cannot compare paths from 2 different provider instances" );
          }
          return toString().compareTo( ((UnixSshPath) o).toString() );
      }
docs: {@inheritDoc}