All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mg.common.metadata.util.MPropertyComparator Maven / Gradle / Ivy

There is a newer version: 1.0.5
Show newest version
package com.mg.common.metadata.util;

import com.mg.framework.entity.metadata.MPropertyEntity;

import java.util.Comparator;

/**
 * Created by liukefu on 2015/9/17.
 */
public class MPropertyComparator implements Comparator {

    @Override
    public int compare(MPropertyEntity o1, MPropertyEntity o2) {

        return o1.getSort() - o2.getSort();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy