Package org.gradle.api
Class Namer.Comparator<T>
java.lang.Object
org.gradle.api.Namer.Comparator<T>
- Type Parameters:
T
- The type of object that the namer can name
- All Implemented Interfaces:
Comparator<T>
A comparator implementation based on the names returned by the given namer.
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
Comparator
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<T>
-
equals
- Specified by:
equals
in interfaceComparator<T>
- Overrides:
equals
in classObject
-
hashCode
public int hashCode()
-