org.apache.myfaces.tobago.util
Class ComparatorBase

java.lang.Object
  extended by org.apache.myfaces.tobago.util.ComparatorBase
All Implemented Interfaces:
java.util.Comparator
Direct Known Subclasses:
BeanComparator, ValueBindingComparator

public abstract class ComparatorBase
extends java.lang.Object
implements java.util.Comparator


Constructor Summary
protected ComparatorBase()
           
protected ComparatorBase(boolean reverse)
           
protected ComparatorBase(boolean reverse, java.util.Comparator comparator)
           
protected ComparatorBase(java.util.Comparator comparator)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.util.Comparator getComparator()
           
 int hashCode()
           
protected  int internalCompare(java.lang.Object obj1, java.lang.Object obj2)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
compare
 

Constructor Detail

ComparatorBase

protected ComparatorBase()

ComparatorBase

protected ComparatorBase(boolean reverse,
                         java.util.Comparator comparator)

ComparatorBase

protected ComparatorBase(boolean reverse)

ComparatorBase

protected ComparatorBase(java.util.Comparator comparator)
Method Detail

internalCompare

protected int internalCompare(java.lang.Object obj1,
                              java.lang.Object obj2)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getComparator

public java.util.Comparator getComparator()


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