mondrian.olap
Class Util.SqlNullSafeComparator

java.lang.Object
  extended by mondrian.olap.Util.SqlNullSafeComparator
All Implemented Interfaces:
Comparator<Comparable>
Enclosing class:
Util

public static class Util.SqlNullSafeComparator
extends Object
implements Comparator<Comparable>

A Comparator implementation which can deal correctly with RolapUtil.sqlNullValue.


Field Summary
static Util.SqlNullSafeComparator instance
           
 
Method Summary
 int compare(Comparable o1, Comparable o2)
           
 
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
 

Field Detail

instance

public static final Util.SqlNullSafeComparator instance
Method Detail

compare

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

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads