Class DefaultResourceComparator
java.lang.Object
io.microsphere.spring.config.env.support.DefaultResourceComparator
- All Implemented Interfaces:
Comparator<org.springframework.core.io.Resource>
public class DefaultResourceComparator
extends Object
implements Comparator<org.springframework.core.io.Resource>
- Since:
- 1.0.0
- Author:
- Mercy
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
compare
(org.springframework.core.io.Resource r1, org.springframework.core.io.Resource r2) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
DefaultResourceComparator
public DefaultResourceComparator()
-
-
Method Details
-
compare
public int compare(org.springframework.core.io.Resource r1, org.springframework.core.io.Resource r2) - Specified by:
compare
in interfaceComparator<org.springframework.core.io.Resource>
-