摘要:
先说明一下好处有哪些:1,如果你想 new 一个空的 List ,而这个 List 以后也不会再添加元素,那么就用 Collections.emptyList() 好了。new ArrayList() 或者 new LinkedList() 在创建的时候有会有初始大小,多少会占用一内存。每次使用都n 阅读全文
摘要:
在使用springboot 方法报错: Inferred type 'S' for type parameter 'S' is not within its bound; should extends xxxxxx 解决方法: 1、springboot 版本问题,将 2.0.1 版本换成 1.5.4 阅读全文