view src/test/csharp/jp.ac.u-ryukyu.ie.cr/data/treemap/TreeMapTest.cs @ 0:dec15de2c6ff

first commit
author Kazuma
date Tue, 21 Jun 2016 17:11:12 +0900
parents
children a3af05a061b4
line wrap: on
line source

using UnityEngine;
using System.Collections;

public class TreeMapTest : MonoBehaviour {
	private int ReturnNumber;
	private bool checknull = true;
	// 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("------------------------------------------");


		}

//		for (int count = 100; count > -10; count--) {
//			ReturnNumber = map.get(count);
//			if(ReturnNumber == null){
//				checknull = false;
//			}
//			//this points null check.
//			  if (checknull){
//				Debug.Log(map.get());
//		}

		Debug.Log ("end");
	
	}
}