com.softicar.platform.common.container.map.number.DoubleMap Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of platform-common Show documentation
Show all versions of platform-common Show documentation
The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.
package com.softicar.platform.common.container.map.number;
import com.softicar.platform.common.math.arithmetic.Arithmetics;
import java.util.Comparator;
import java.util.Map;
import java.util.TreeMap;
/**
* A {@link NumberMap} for doubles.
*
* @param
* the type of the keys
* @author Oliver Richers
*/
public class DoubleMap extends NumberMap {
public DoubleMap() {
this(new TreeMap());
}
public DoubleMap(Comparator comparator) {
this(new TreeMap(comparator));
}
public DoubleMap(Map data) {
super(data, Arithmetics.DOUBLE);
}
}