com.ibm.commons.iloader.node
Class DataNode.AttributeComparator
java.lang.Object
com.ibm.commons.iloader.node.DataNode.Comparator
com.ibm.commons.iloader.node.DataNode.AttributeComparator
- Enclosing class:
- DataNode
public static class DataNode.AttributeComparator
- extends DataNode.Comparator
Compares attributes in the model
Method Summary |
int |
compare(DataNode node,
java.lang.Object o1,
java.lang.Object o2)
|
int |
compare(java.lang.String v1,
java.lang.String v2)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataNode.AttributeComparator
public DataNode.AttributeComparator(java.lang.String[] attributeNames,
boolean ascending)
DataNode.AttributeComparator
public DataNode.AttributeComparator(java.lang.String[] attributeNames)
DataNode.AttributeComparator
public DataNode.AttributeComparator(java.lang.String attributeName)
DataNode.AttributeComparator
public DataNode.AttributeComparator(java.lang.String attributeName,
boolean ascending)
compare
public int compare(DataNode node,
java.lang.Object o1,
java.lang.Object o2)
- Specified by:
compare
in class DataNode.Comparator
compare
public int compare(java.lang.String v1,
java.lang.String v2)