Interface MIComparator<T>
-
- All Superinterfaces:
Comparator<T>
- All Known Implementing Classes:
IdentityHashComparator
public interface MIComparator<T> extends Comparator<T>
A MI comparator is a comparator that can also generate a hashCode of a JAMI object that would be consistent with the comparison results- Since:
22/08/14
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
computeHashCode(T object)
computeHashCode-
Methods inherited from interface java.util.Comparator
compare, equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
computeHashCode
int computeHashCode(T object)
computeHashCode
- Parameters:
object
- a T object.- Returns:
- a int.
-
-