net.sf.javagimmicks.math.comparator.BooleanComparator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gimmicks Show documentation
Show all versions of gimmicks Show documentation
Utility classes, APIs and tools for Java
package net.sf.javagimmicks.math.comparator;
import java.util.Comparator;
/**
* A {@link Comparator} that compares {@link Boolean} instances.
*/
public class BooleanComparator implements Comparator
{
@Override
public int compare(final Boolean o1, final Boolean o2)
{
return o1.compareTo(o2);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy