Ejemplo n.º 1
0
 public bool Contains(KeyType key)
 {
     if (this._keys.IndexOf(key) > -1)
     {
         return true;
     }
     else
     {
         return false;
     }
 }
Ejemplo n.º 2
0
 public void removeKey(KeyType key)
 {
     this._keys.Remove(key);
     //throw new System.NotImplementedException();
 }
Ejemplo n.º 3
0
 public void addKey(KeyType key)
 {
     if (this._keys.IndexOf(key) != -1)
     {
         this._keys.Add(key);
     }
 }