Class Paths.WildcardLast
java.lang.Object
dev.getelements.elements.sdk.cluster.path.Paths.WildcardLast
- All Implemented Interfaces:
Comparator<Path>
- Enclosing class:
Paths
Sorts all
Path instances with paths containing a wildcard appear last in the sort order.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
WildcardLast
public WildcardLast()
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<Path>
-
hashCode
public int hashCode() -
equals
- Specified by:
equalsin interfaceComparator<Path>- Overrides:
equalsin classObject
-