Community
Participate
Working Groups
return 1;
}
// compare host
compare = compareStringOrNull(uri1.getHost(), uri2.getHost());
if (compare != 0)
return compare;
IPath path1 = new Path(uri1.getPath());
IPath path2 = new Path(uri2.getPath());
// compare devices
compare = compareStringOrNull(path1.getDevice(), path2.getDevice());
// compare segments
int segmentCount1 = path1.segmentCount();
int segmentCount2 = path2.segmentCount();