
集合
嘿;-)翔�
这个作者很懒,什么都没留下…
展开
-
Java ConcurrentModificationException出现异常原因和解决方法
https://www.cnblogs.com/zhuyeshen/p/10956822.html转载 2020-09-25 09:44:49 · 166 阅读 · 0 评论 -
参数是list集合校验,使用@Vaild或者@Vaildated不起作用
小翔好久没来优快云了,有点想念呢....-_-!好吧我承认是我懒了近期我发现项目中有很多接口接收参数需要list集合的形式,并且也加了@Vaild但是并不好使,校验并没有起作用,然而.........为什么没有报错,(这个就得夸夸前端的校验了,避免了后端挨骂)那么今天就来讨论下@Vaild或者@Vaildated对集合的校验1.仅仅在接口入参处使用@Vaild 不可行 不进行校验2.添加一个VaildList<E> implement List<E>校验类 ..原创 2020-09-02 16:35:17 · 3701 阅读 · 2 评论 -
Arrays.toList() 和Collections.singletonList()的区别
https://blog.youkuaiyun.com/wz1159/article/details/86704752转载 2020-08-24 12:52:10 · 608 阅读 · 0 评论