コード例 #1
0
 /* .......................................... DNAData .................................................. */
 public long getTaxonNumberInTree(Taxa taxa, int it) {
   Associable tInfo = getTaxaInfo(data, true);
   if (tInfo != null) {
     return (int) tInfo.getAssociatedLong(TNTtoAnalyze, it);
   }
   return -1;
 }
コード例 #2
0
 /* .......................................... MolecularData .................................................. */
 public void setTaxonNumberInTree(Taxa taxa, int it, int value) {
   Associable tInfo = getTaxaInfo(data, true);
   if (tInfo != null) {
     tInfo.setAssociatedLong(TNTtoAnalyze, it, value);
   }
 }