diff Main/jungle-main/transaction/DefaultTreeNode.cs @ 31:1466993c104c

byte[] to object Rewrite.
author Kazuma Takeda
date Fri, 20 Jan 2017 07:08:03 +0900
parents 1f99e150f336
children f2ea780b3e80
line wrap: on
line diff
--- a/Main/jungle-main/transaction/DefaultTreeNode.cs	Wed Jan 18 21:54:26 2017 +0900
+++ b/Main/jungle-main/transaction/DefaultTreeNode.cs	Fri Jan 20 07:08:03 2017 +0900
@@ -4,15 +4,15 @@
 	public class DefaultTreeNode : TreeNode {
 		
 		private List<TreeNode> children;
-		private TreeMap<string,byte[]> attrs;
+		private TreeMap<string, object> attrs;
 		private static readonly List<TreeNode> NIL_LIST = new List<TreeNode>();
 
 		public DefaultTreeNode() 
-			: this (NIL_LIST, new TreeMap<string,byte[]> ())
+			: this (NIL_LIST, new TreeMap<string, object> ())
 		{
 		}
 
-		public DefaultTreeNode(List<TreeNode> _children, TreeMap<string, byte[]> _attrs) {
+		public DefaultTreeNode(List<TreeNode> _children, TreeMap<string, object> _attrs) {
 			attrs = _attrs;
 			children = _children;
 		}
@@ -34,7 +34,7 @@
 		}
 
 		public Either<Error, TreeNode> appendRootNode() {
-			TreeNodeChildren newRootChildren = new DefaultTreeNodeChildren(NIL_LIST, new TreeMap<string, byte[]>());
+			TreeNodeChildren newRootChildren = new DefaultTreeNodeChildren(NIL_LIST, new TreeMap<string, object>());
 			Either<Error, TreeNode> either = newRootChildren.addNewChildAt(0,this);
 			return either;
 		}