private TimestampComparator<BaseBean> dataComparator = new TimestampComparator<>();以前都是前后都写上类型,偶然发现后面不写也可以(编译通过也没有警告)在开发中,大家都是怎么做的?有没有参考的标准? 查看完整描述