Exemplo n.º 1
0
 public ClassList(int count)
 {
     for (int i = 0; i < count; ++i)
     {
         m_test1.InsertFirst(new TestClass1(10));
     }
 }
Exemplo n.º 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));
     }
 }
Exemplo n.º 3
0
 public ClassList(int count)
 {
     m_test1 = new RegionLinkedList <TestClass1>();
     for (int i = 0; i < count; ++i)
     {
         m_test1.InsertFirst(new TestClass1(10));
     }
 }
Exemplo n.º 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);
     }
 }
Exemplo n.º 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);
     }
 }
Exemplo n.º 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);
     }
 }