Class PriorityFirstComparator

java.lang.Object
org.apache.wicket.markup.head.PriorityFirstComparator
All Implemented Interfaces:
Serializable, Comparator<ResourceAggregator.RecordedHeaderItem>

Implements the default sorting algorithm for HeaderItems. PriorityHeaderItems are moved to the front, inverting the component order to convert the child-first into a parent-first order. If renderPageFirst is true, the head from the markup of a page is moved to the front of the header, directly after the priority header items.
Author:
papegaaij
See Also: