public ClassList(Region region, int count) { m_test1 = new RegionLinkedList <TestClass1>(region); for (int i = 0; i < count; ++i) { m_test1.InsertFirst(region, new TestClass1(region, 10)); } }
public ClassList(int count) { m_test1 = new RegionLinkedList <TestClass1>(); for (int i = 0; i < count; ++i) { m_test1.InsertFirst(new TestClass1(10)); } }
public DeepListList(int count) { for (int i = 0; i < count; ++i) { RegionLinkedList <TestClass1> tmpList = new RegionLinkedList <TestClass1>(); for (int j = 0; j < count; ++j) { tmpList.InsertFirst(new TestClass1(10)); } list.InsertFirst(tmpList); } }
public DeepDictionaryList(int count) { list = new RegionLinkedList <Dictionary <int, TestClass1> >(); for (int i = 0; i < count; ++i) { Dictionary <int, TestClass1> tmpDict = new Dictionary <int, TestClass1>(); for (int j = 0; j < count; ++j) { tmpDict.Add(j, new TestClass1(10)); } list.InsertFirst(tmpDict); } }
public DeepListList(Region region, int count) { list = new RegionLinkedList <RegionLinkedList <TestClass1> >(region); for (int i = 0; i < count; ++i) { RegionLinkedList <TestClass1> tmpList = new RegionLinkedList <TestClass1>(region); for (int j = 0; j < count; ++j) { tmpList.InsertFirst(region, new TestClass1(region, 10)); } list.InsertFirst(region, tmpList); } }