Exemple #1
0
 public void addItem(TN temp)
 {
     if (size < maxSize)
     {
         nodes.addItem(temp);
         size++;
     }
     else
     {
         throw new System.Exception("Cannot insert anymore items");
     }
 }