Mercurial > hg > Database > jungle-sharp
comparison 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 |
comparison
equal
deleted
inserted
replaced
19:0865819106cf | 20:1f99e150f336 |
---|---|
1 using UnityEngine; | |
2 using System.Collections; | |
3 using JungleDB; | |
4 | |
5 public class TreeMapTest : MonoBehaviour { | |
6 private int ReturnNumber; | |
7 // Update is called once per frame | |
8 public void Start () { | |
9 TreeMap<int, int> map = new TreeMap<int,int>(); | |
10 Debug.Log (map); | |
11 for (int count = 5; count > -10; count--) { | |
12 map = map.put(count, count); | |
13 map.checkDepth(); | |
14 Debug.Log("------------------------------------------"); | |
15 | |
16 | |
17 } | |
18 | |
19 } | |
20 } | |
21 |