Comparator.compare()
报告的情况如下:
0
示例:
Comparator<String> lambda = (a, b) -> (a.length() > b.length() ? 0 : Math.random() > 0.5 ? (-1) : (1));