Mercurial > hg > Database > jungle-sharp
view src/test/csharp/jp.ac.u-ryukyu.ie.cr/junge-main/data/list/deleteTest.cs @ 12:b71d9ea6bd8e
Add Network Operation Class. this codes can not test yet.
author | Kazuma |
---|---|
date | Sun, 23 Oct 2016 12:25:57 +0900 |
parents | |
children |
line wrap: on
line source
using UnityEngine; using System.Collections; public class deleteTest : MonoBehaviour { void Start () { List<int> list = new List<int>(); for(int count = 0; count < 10; count++){ list = list.addLast(count); } List<int> newList = list.delete(5); Debug.Log(list.getHead().length()); Debug.Log (newList.getHead ().length ()); } }