【MapSheep】
[好记性不如烂笔头]
摘要: 引入Maven依赖 <!-- https://mvnrepository.com/artifact/redis.clients/jedis --> <dependency> <groupId>redis.clients</groupId> <artifactId>jedis</artifactId> 阅读全文
posted @ 2021-07-23 18:28 (Play) 阅读(309) 评论(0) 推荐(0)
摘要: /** * Labeled block。 * * @param args */ public static void main(String[] args) { task: { int age = 25; System.out.println("start"); if (age < 30) { br 阅读全文
posted @ 2021-07-23 18:27 (Play) 阅读(219) 评论(0) 推荐(0)
摘要: import cn.hutool.core.lang.Assert; import com.alibaba.fastjson.JSON; import com.example.demo.Demo.dto.Student; import java.util.*; import java.util.st 阅读全文
posted @ 2021-07-23 10:18 (Play) 阅读(1093) 评论(0) 推荐(0)
摘要: 自定义异常检测 条件为 false 时触发 Assert.isTrue(stuList.size() > 0, "当前集合为空"); 解决方案 调整 关键字为 true 阅读全文
posted @ 2021-07-23 10:15 (Play) 阅读(1654) 评论(0) 推荐(0)