public class

ChildPositionComparator

extends Object
implements Comparator<T>
java.lang.Object
   ↳ com.atlassian.confluence.pages.ChildPositionComparator

Class Overview

A comparator used to sort pages based on the Page Ordering sort rules.

This comparator will compare the position of the two pages with null smaller than anything else. If that comparison results in 0 a title based "natural" sort will be used. For details on the Natural Sort algorithm see the NaturalStringComparator.

Summary

Public Constructors
ChildPositionComparator()
Public Methods
int compare(Page page0, Page page1)
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.util.Comparator

Public Constructors

public ChildPositionComparator ()

Public Methods

public int compare (Page page0, Page page1)