All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.javagimmicks.math.comparator.ByteComparator Maven / Gradle / Ivy

There is a newer version: 0.99-alpha1
Show newest version
package net.sf.javagimmicks.math.comparator;

import java.util.Comparator;

/**
 * A {@link Comparator} that compares {@link Byte} instances.
 */
public class ByteComparator implements Comparator
{
   @Override
   public int compare(final Byte o1, final Byte o2)
   {
      return o1.compareTo(o2);
   }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy