org.apache.myfaces.tobago.util
Class ValueBindingComparator

java.lang.Object
  extended by org.apache.myfaces.tobago.util.ComparatorBase
      extended by org.apache.myfaces.tobago.util.ValueBindingComparator
All Implemented Interfaces:
java.util.Comparator

public class ValueBindingComparator
extends ComparatorBase


Constructor Summary
ValueBindingComparator(FacesContext facesContext, java.lang.String var, ValueBinding valueBinding)
           
ValueBindingComparator(FacesContext facesContext, java.lang.String var, ValueBinding valueBinding, boolean reverse)
           
ValueBindingComparator(FacesContext facesContext, java.lang.String var, ValueBinding valueBinding, boolean reverse, java.util.Comparator comparator)
           
ValueBindingComparator(FacesContext facesContext, java.lang.String var, ValueBinding valueBinding, java.util.Comparator comparator)
           
 
Method Summary
 int compare(java.lang.Object param1, java.lang.Object param2)
           
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 
Methods inherited from class org.apache.myfaces.tobago.util.ComparatorBase
getComparator, internalCompare
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueBindingComparator

public ValueBindingComparator(FacesContext facesContext,
                              java.lang.String var,
                              ValueBinding valueBinding)

ValueBindingComparator

public ValueBindingComparator(FacesContext facesContext,
                              java.lang.String var,
                              ValueBinding valueBinding,
                              boolean reverse)

ValueBindingComparator

public ValueBindingComparator(FacesContext facesContext,
                              java.lang.String var,
                              ValueBinding valueBinding,
                              java.util.Comparator comparator)

ValueBindingComparator

public ValueBindingComparator(FacesContext facesContext,
                              java.lang.String var,
                              ValueBinding valueBinding,
                              boolean reverse,
                              java.util.Comparator comparator)
Method Detail

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface java.util.Comparator
Overrides:
equals in class ComparatorBase

hashCode

public int hashCode()
Overrides:
hashCode in class ComparatorBase

compare

public int compare(java.lang.Object param1,
                   java.lang.Object param2)
Parameters:
param1 -
param2 -
Returns:


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