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, wait
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
WildcardLast
public WildcardLast()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<Path>
-
hashCode
public int hashCode() -
equals
- Specified by:
equals
in interfaceComparator<Path>
- Overrides:
equals
in classObject
-