Package org.apache.maven.doxia.sink.impl
Class SinkWrapperFactoryComparator
- java.lang.Object
-
- org.apache.maven.doxia.sink.impl.SinkWrapperFactoryComparator
-
- All Implemented Interfaces:
java.util.Comparator<SinkWrapperFactory>
public final class SinkWrapperFactoryComparator extends java.lang.Object implements java.util.Comparator<SinkWrapperFactory>
Sorts the givenSinkWrapperFactory
s so that the one with the highest priority comes first (i.e. order by descending priority)- Since:
- 2.0.0
-
-
Constructor Summary
Constructors Constructor Description SinkWrapperFactoryComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(SinkWrapperFactory o1, SinkWrapperFactory o2)
-
-
-
Method Detail
-
compare
public int compare(SinkWrapperFactory o1, SinkWrapperFactory o2)
- Specified by:
compare
in interfacejava.util.Comparator<SinkWrapperFactory>
-
-