diff Test/junge-main/data/treemap/TreeMapTest.cs @ 20:1f99e150f336

fix folder and add Object Mapper.
author Kazuma Takeda
date Thu, 15 Dec 2016 22:52:48 +0900
parents
children e954d456665c
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Test/junge-main/data/treemap/TreeMapTest.cs	Thu Dec 15 22:52:48 2016 +0900
@@ -0,0 +1,21 @@
+using UnityEngine;
+using System.Collections;
+using JungleDB;
+
+public class TreeMapTest : MonoBehaviour {
+	private int ReturnNumber;
+	// Update is called once per frame
+	public void Start () {
+		TreeMap<int, int> map = new TreeMap<int,int>();
+		Debug.Log (map);
+		for (int count = 5; count > -10; count--) {
+			map = map.put(count, count);
+			map.checkDepth();
+			Debug.Log("------------------------------------------");
+
+
+		}
+	
+	}
+}
+