org.apache.myfaces.tobago.internal.config
Class TobagoConfigSorter

java.lang.Object
  extended by org.apache.myfaces.tobago.internal.config.TobagoConfigSorter
All Implemented Interfaces:
Comparator<TobagoConfigFragment>

public class TobagoConfigSorter
extends Object
implements Comparator<TobagoConfigFragment>


Constructor Summary
TobagoConfigSorter(List<TobagoConfigFragment> list)
           
 
Method Summary
 int compare(TobagoConfigFragment a, TobagoConfigFragment b)
           
protected  void createRelevantPairs()
           
protected  void ensureAntiSymmetric()
           
protected  void ensureIrreflexive()
           
protected  List<org.apache.myfaces.tobago.internal.config.TobagoConfigSorter.Pair> getPairs()
           
protected  void makeTransitive()
           
 void sort()
           
protected  void sort0()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

TobagoConfigSorter

public TobagoConfigSorter(List<TobagoConfigFragment> list)
Method Detail

sort

public void sort()

makeTransitive

protected void makeTransitive()

ensureIrreflexive

protected void ensureIrreflexive()

ensureAntiSymmetric

protected void ensureAntiSymmetric()

compare

public int compare(TobagoConfigFragment a,
                   TobagoConfigFragment b)
Specified by:
compare in interface Comparator<TobagoConfigFragment>

createRelevantPairs

protected void createRelevantPairs()

sort0

protected void sort0()

getPairs

protected List<org.apache.myfaces.tobago.internal.config.TobagoConfigSorter.Pair> getPairs()


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.