Beispiel #1
0
 @Override
 public Double get(long key) {
   if (vector.containsKey(key)) {
     return vector.get(key);
   } else {
     return defaultReturnValue();
   }
 }
Beispiel #2
0
 @Override
 public int size() {
   return vector.size();
 }
Beispiel #3
0
 @Override
 public boolean containsKey(long key) {
   return vector.containsKey(key);
 }
Beispiel #4
0
 @Override
 public ObjectCollection<Double> values() {
   return CollectionUtils.objectCollection(vector.values());
 }
Beispiel #5
0
 @Override
 public LongSet keySet() {
   return vector.keySet();
 }