JAL-1953 start work on storing nodes in a map per tree object instead of
authorkjvdheide <kjvanderheide@dundee.ac.uk>
Sun, 31 Dec 2017 18:41:49 +0000 (18:41 +0000)
committerkjvdheide <kjvanderheide@dundee.ac.uk>
Tue, 2 Jan 2018 13:39:14 +0000 (13:39 +0000)
all together in a static map

src/jalview/ext/archaeopteryx/Tree.java

index 12dd8c7..345820d 100644 (file)
@@ -15,6 +15,10 @@ public class Tree implements TreeI
 {
   private final Phylogeny tree;
 
+  // alternative to static maps in TreeNode
+  // private Map<PhylogenyNode, TreeNodeI> originalNodes = new HashMap<>(500);
+  // private Map<TreeNodeI, PhylogenyNode> wrappedNodes = new HashMap<>(500);
+
   public Tree()
   {
     tree = new Phylogeny();