摘要: java.utils包下的Comparator接口。 该接口代表一个比较器,java数组工具类和集合工具类中提供对sort方法排序就是使用Comparator接口来处理排序的。 Comparator接口中有一个方法int compare(T o1, T o2)。 这个方法返回值是int类型,**如果 阅读全文
posted @ 2020-09-23 20:33 不方亦不凡 阅读(476) 评论(0) 推荐(0) 编辑
摘要: 1. Tomcat的server.xml配置文件中进行配置(注意填写路径跟web.xml)之中的路径是一样的 ` contributor license agreements. See the NOTICE file distributed with this work for additional 阅读全文
posted @ 2020-09-23 20:26 不方亦不凡 阅读(2289) 评论(0) 推荐(0) 编辑