- java.lang.Object
-
- org.jgrapht.alg.util.AlwaysEqualComparator<T>
-
- Type Parameters:
T
- type of elements to be compared
- All Implemented Interfaces:
java.util.Comparator<T>
public class AlwaysEqualComparator<T> extends java.lang.Object implements java.util.Comparator<T>
A default implementation for a check on equality (that always holds)
-
-
Constructor Summary
Constructors Constructor Description AlwaysEqualComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(T arg0, T arg1)
-