private static final class TPath.WindowsTPathComparator extends TPath.TPathComparator
TPath.getAddress().FsPath.getMountPoint() as an
identifier for the file system in order to avoid creating the
TFileSystem object for a TPath.
Creating the file system object usually creates an FsController
too, which is an expensive operation.
This may cause some unwanted FsMountPoint parsing when a
TPath object is just used for resolving another TPath
object.| Modifier | Constructor and Description |
|---|---|
private |
TPath.WindowsTPathComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(TPath p1,
TPath p2) |
(package private) boolean |
equals(TPath p1,
TPath p2) |
(package private) int |
hashCode(TPath p) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic int compare(TPath p1, TPath p2)
compare in interface Comparator<TPath>compare in class TPath.TPathComparatorboolean equals(TPath p1, TPath p2)
equals in class TPath.TPathComparatorint hashCode(TPath p)
hashCode in class TPath.TPathComparatorCopyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.