Mercurial > hg > Database > jungle-sharp
view Test/junge-main/data/list/deleteTest.cs @ 38:e954d456665c
library is made by rake
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 22 Feb 2017 16:58:10 +0900 |
parents | 9588ad364fdd |
children |
line wrap: on
line source
// using UnityEngine; using System.Collections; using JungleDB; 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 ()); } }