Пример #1
0
 @Override
 public Double get(long key) {
   if (vector.containsKey(key)) {
     return vector.get(key);
   } else {
     return defaultReturnValue();
   }
 }
Пример #2
0
 @Override
 public boolean containsKey(long key) {
   return vector.containsKey(key);
 }