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