Class DependencyComparator
java.lang.Object
io.spring.initializr.generator.buildsystem.DependencyComparator
- All Implemented Interfaces:
Comparator<Dependency>
A
Comparator
that orders dependencies
in a suitable form for
being referenced in the build.- Author:
- Stephane Nicoll
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
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
A default stateless instance.
-
-
Constructor Details
-
DependencyComparator
public DependencyComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<Dependency>
-