- 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>
@Deprecated(forRemoval=true, since="1.5.1") public class AlwaysEqualComparator<T> extends java.lang.Object implements java.util.Comparator<T>
Deprecated, for removal: This API element is subject to removal in a future version.use a lambda like(t1,t2) -> 0
insteadA default implementation for a check on equality (that always holds)
-
-
Constructor Summary
Constructors Constructor Description AlwaysEqualComparator()
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
compare(T arg0, T arg1)
Deprecated, for removal: This API element is subject to removal in a future version.
-