Class Paths.WildcardFirst
java.lang.Object
dev.getelements.elements.sdk.cluster.path.Paths.WildcardFirst
- All Implemented Interfaces:
Comparator<Path>
- Enclosing class:
Paths
Sorts all
Path
instances with paths containing a wildcard appear first 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
-
WildcardFirst
public WildcardFirst()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<Path>
-
hashCode
public int hashCode() -
equals
- Specified by:
equals
in interfaceComparator<Path>
- Overrides:
equals
in classObject
-