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