import org.nasutekds.dsml.protocol.DsmlAttr;
public class DsmlAttrCompare implements Comparator {
public int compare(Object o1, Object o2) {
DsmlAttr attr1 = (DsmlAttr) o1;
DsmlAttr attr2 = (DsmlAttr) o2;
return (attr1.getName().compareTo(attr2.getName()));
}