
prefuse.util.collections.NullComparator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of prefuse-vienna Show documentation
Show all versions of prefuse-vienna Show documentation
Prefuse is a set of software tools for creating rich interactive data visualizations in the Java programming language.
The newest version!
package prefuse.util.collections;
import java.util.Comparator;
/**
* A do-nothing comparator that simply treats all objects as equal.
* @author jeffrey heer
*/
public class NullComparator implements Comparator {
public int compare(Object o1, Object o2) {
return 0;
}
} // end of class NullComparator
© 2015 - 2025 Weber Informatics LLC | Privacy Policy