It's more or less random. 
What happens behind the scenes is that WindowContext implements Comparable, and 
the compare method only considers the order to calculate the return value 

  | package org.jboss.portal.theme.page;
  | public final class WindowContext implements Comparable, Serializable
  | {
  |    ....
  |    public int compareTo(Object o)
  |    {
  |       return order - ((WindowContext)o).order;
  |    }
  |    ....
  | }
  | 


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979177#3979177

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979177
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to