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 int size() {
   return vector.size();
 }
Example #3
0
 @Override
 public boolean containsKey(long key) {
   return vector.containsKey(key);
 }
Example #4
0
 @Override
 public ObjectCollection<Double> values() {
   return CollectionUtils.objectCollection(vector.values());
 }
Example #5
0
 @Override
 public LongSet keySet() {
   return vector.keySet();
 }