com.mg.common.metadata.util.MirrorPropertyComparator Maven / Gradle / Ivy
The newest version!
package com.mg.common.metadata.util;
import com.mg.framework.entity.metadata.MirrorPropertyEntity;
import java.util.Comparator;
/**
* Created by liukefu on 2015/9/17.
*/
public class MirrorPropertyComparator implements Comparator {
@Override
public int compare(MirrorPropertyEntity o1, MirrorPropertyEntity o2) {
return o1.getSort() - o2.getSort();
}
}