You return only -1 or +1, never 0. See the java.util.Comparator definition : Compares its two arguments for order. Returns a negative integer, zero, ...
確定! 回上一頁