inetsoft.report.filter
Class NodeComparer
java.lang.Object
inetsoft.report.filter.NodeComparer
- All Implemented Interfaces:
- Comparator
public abstract class NodeComparer
- extends Object
- implements Comparator
A comparator compares two nodes.
|
Constructor Summary |
NodeComparer(int scol,
boolean asc)
Constructor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeComparer
public NodeComparer(int scol,
boolean asc)
- Constructor.
- Parameters:
scol - ths specified summary colasc - true if ascending, false otherwise
compare
public int compare(Object v1,
Object v2)
- Compare two group nodes.
- Specified by:
compare in interface Comparator
getResult
protected abstract Object getResult(Object obj)
- Get specified node summary value.