Example #1
0
 public ClassList(int count)
 {
     for (int i = 0; i < count; ++i)
     {
         m_test1.InsertFirst(new TestClass1(10));
     }
 }
Example #2
0
 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));
     }
 }
Example #3
0
 public ClassList(int count)
 {
     m_test1 = new RegionLinkedList <TestClass1>();
     for (int i = 0; i < count; ++i)
     {
         m_test1.InsertFirst(new TestClass1(10));
     }
 }
Example #4
0
 public DeepDictionaryList(int count)
 {
     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);
     }
 }
Example #5
0
 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);
     }
 }
Example #6
0
 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);
     }
 }