コード例 #1
0
 /** @return le chemin pour accéder à cette node sous une forme du type (ROOT.)1.2.3.0.1.2. etc. */
 public String getPath() {
   if (parent == this) {
     return "" + positionInParentNode;
   } else {
     return parent.getPath() + "." + positionInParentNode;
   }
 }