示例#1
0
文件: Face.java 项目: Genxl/xlweixin
 // 根据人脸中心点坐标从左至右排序
 public int compareTo(Face face) {
   // TODO Auto-generated method stub
   int result = 0;
   if (this.getCenterX() > face.getCenterX()) result = 1;
   else result = -1;
   return result;
 }