TimestampMap implements TimeMap<Double, T> { @Override public abstract boolean isSupported(Estimator estimator); TimestampMap();  TimestampMap(int capacity); protected  TimestampMap(double[] keys); @Override boolean put(Double timestamp, T value); @Override boolean remove(Double timestamp); @Override T get(Double timestamp, T defaultValue); @Override Object get(Interval interval, Estimator estimator); @Override T[] toValuesArray(); @Override abstract Class<T> getTypeClass(); @Override abstract boolean isSupported(Estimator estimator); @Override int size(); @Override boolean isEmpty(); @Override boolean contains(Double timestamp); double[] getTimestamps(); @Override Double[] toKeysArray(); @Override void clear(); @Override int hashCode(); @Override boolean equals(Object obj); String toString(TimeFormat timeFormat, DateTimeZone timeZone); String toString(TimeFormat timeFormat); @Override String toString();  }
@Test public void testIsSupported() { for (TimestampMap set : getAllInstances()) { Assert.assertTrue(set.isSupported(Estimator.FIRST)); Assert.assertTrue(set.isSupported(Estimator.LAST)); if (Number.class.isAssignableFrom(set.getTypeClass())) { Assert.assertTrue(set.isSupported(Estimator.MAX)); Assert.assertTrue(set.isSupported(Estimator.MIN)); Assert.assertTrue(set.isSupported(Estimator.AVERAGE)); } } }