Class Publication.RelatedCategoryComparator<T extends Publication>

Type Parameters:
T - a type of Publication
All Implemented Interfaces:
Comparator<T>
Enclosing class:
Publication

public static class Publication.RelatedCategoryComparator<T extends Publication> extends Publication.PdateComparator<T>
Publication are sorted according the count of common categories with the given category set. In case of equality, a custom super comparator can be provided.
Since:
jcms-10.0.0