com.softicar.platform.common.container.map.number.FloatMap 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 floats.
*
* @param
* the type of the keys
* @author Oliver Richers
*/
public class FloatMap extends NumberMap {
public FloatMap() {
this(new TreeMap());
}
public FloatMap(Comparator comparator) {
this(new TreeMap(comparator));
}
public FloatMap(Map data) {
super(data, Arithmetics.FLOAT);
}
}