* \r
* @see TreeSRegistry\r
*/\r
-public class TreeSPath implements StructurePath {\r
+public class TreeSPath implements StructurePath, Comparable<StructurePath> {\r
/** Default character to use a separator: #. */\r
public static Character DEFAULT_SEPARATOR = '#';\r
\r
return false;\r
}\r
\r
+ public int compareTo(StructurePath o) {\r
+ return getAsUniqueString().compareTo(o.getAsUniqueString());\r
+ }\r
+\r
+ \r
}\r