org.mmbase.datatypes
Class BasicDataType.DataTypeComparator<D>

java.lang.Object
  extended by org.mmbase.datatypes.BasicDataType.DataTypeComparator<D>
All Implemented Interfaces:
Comparator<D>
Enclosing class:
BasicDataType<C>

protected abstract static class BasicDataType.DataTypeComparator<D>
extends Object
implements Comparator<D>


Field Summary
protected  BasicDataType<D> parent
           
 
Constructor Summary
BasicDataType.DataTypeComparator(BasicDataType<D> p)
           
 
Method Summary
abstract  int compare(D o1, D o2)
           
 boolean equals(Object o)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parent

protected final BasicDataType<D> parent
Constructor Detail

BasicDataType.DataTypeComparator

BasicDataType.DataTypeComparator(BasicDataType<D> p)
Method Detail

compare

public abstract int compare(D o1,
                            D o2)
Specified by:
compare in interface Comparator<D>

equals

public boolean equals(Object o)
Specified by:
equals in interface Comparator<D>
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


MMBase 2.0-SNAPSHOT - null