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

cn.jiangzeyin.util.net.ftp.FtpClientComparator Maven / Gradle / Ivy

package cn.jiangzeyin.util.net.ftp;

import java.util.Comparator;

/**
 * ftp 连接编号排序
 *
 * @author jiangzeyin
 */
public class FtpClientComparator implements Comparator {

    /**
     * @param o1 o1
     * @param o2 o2
     * @return int
     * @author jiangzeyin
     */
    @Override
    public int compare(YokeFtp o1, YokeFtp o2) {
        // TODO Auto-generated method stub
        return o1.getOrder() - o2.getOrder();
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy