Exemplo n.º 1
0
 public void Clear()
 {
     // insert and initialize the specified number of element nodes
     for (int i = 0; i < count; i++)
         elements[i] = new DSElement(0, i, 1);
     // update element and set counts
     numSets = count;
 }
Exemplo n.º 2
0
 public void Clear()
 {
     // insert and initialize the specified number of element nodes
     for (int i = 0; i < count; i++)
     {
         elements[i] = new DSElement(0, i, 1);
     }
     // update element and set counts
     numSets = count;
 }