Пример #1
0
 public Object get(Object key)
 {
     if (containsKey(key))
     {
         return(vals.get(keys.indexOf(key)));
     }
     else
     {
         return(null);
     }
 }
Пример #2
0
 private int getIndex(K key)
 {
     return(keys.indexOf(key));
 }