### Question:
RangeMap extends TreeMap<K, Collection<V>> { public List<V> getValuesBetween(K lowerBound, K upperBound) { List<V> values = new ArrayList<>(); double lbv = lowerBound.doubleValue(); double ubv = upperBound.doubleValue(); for (Map.Entry<K, Collection<V>> entry : this.entrySet()) { double v = entry.getKey().doubleValue(); if (v >= lbv && v <= ubv) { values.addAll(entry.getValue()); } if (v > ubv) { break; } } return values; }  List<V> getValues(K seed, ComparisonType comparisonType); List<V> getValuesBetween(K lowerBound, K upperBound); void put(K key, V c);  }### Answer:
@Test public void testGetValuesBetween() throws Exception { assertThat(rm.getValuesBetween(0.5,200.3), Matchers.hasItems("A","B","C")); assertThat(rm.getValuesBetween(0.5,200.3).size(), Matchers.equalTo(3)); }