
org.openclover.util.Maps Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clover Show documentation
Show all versions of clover Show documentation
Clover is an award winning code coverage and testing tool for Java and Groovy.
It integrates easily with Maven, Ant, Grails, Eclipse and IntelliJ IDEA
as well as with continuous integration servers such as Bamboo, Jenkins or Hudson.
Note: before Clover 4.0 this artifact was named com.cenqua.clover:clover.
The newest version!
package org.openclover.util;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.TreeMap;
public abstract class Maps {
public static HashMap newHashMap() {
return new HashMap<>();
}
public static HashMap newHashMap(Map extends S, ? extends T> inputMap) {
return new HashMap<>(inputMap);
}
public static LinkedHashMap newLinkedHashMap() {
return new LinkedHashMap<>();
}
public static , T> TreeMap newTreeMap() {
return new TreeMap<>();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy