Package org.apache.maven.doxia.sink.impl
Class SinkWrapperFactoryComparator
java.lang.Object
org.apache.maven.doxia.sink.impl.SinkWrapperFactoryComparator
- All Implemented Interfaces:
Comparator<SinkWrapperFactory>
public final class SinkWrapperFactoryComparator
extends Object
implements Comparator<SinkWrapperFactory>
Sorts the given
SinkWrapperFactory
s so that the one with the highest priority comes first (i.e. order by descending priority)- Since:
- 2.0.0
-
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
-
Constructor Details
-
SinkWrapperFactoryComparator
public SinkWrapperFactoryComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<SinkWrapperFactory>
-