Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
compareto返回1和-1的区别_温故篇:Comparable与Compatator的区别
前言 在实际开发中 xff0c 经常需要对某些数据进行比较 xff0c 例如我们在网购的时候 xff0c 检索某件商品 xff0c 它会按照价格 xff0c 收藏等等关键词展示出来 xff0c 当中的展示规则便是对商品间的某个相同数据比较后
compareTo
Comparable
Compatator