mingduo
mingduo
组织:南京28研究所 地点:中国 江苏南京 联系方式:[email protected] 组件:Nacos、Sentinel、RocketMQ 场景:服务发现、配置管理、限流降级
查询逻辑 ```java public PageInfo pagelistCourse(@RequestBody Course course) { CourseExample courseExample = buildCondition(course); try (HintManager hintManager = HintManager.getInstance();) { setHintValue(hintManager); PageHelper.startPage(1, 10,true); List courses = courseMapper.selectByExample(courseExample); return PageInfo.of(courses); } } ```...
A 实际上考察 integer 对象是否相等 map.putIfAbsent(1024, "B") 由于 1024!=1024 set null 进去
画个堆栈图
自动类型转化啊 Number result = (toBe || !toBe) ? a : new Float(1); Integer跟Float在一起 result 类型往上自动提升 ,int 自动转化 long float double 反之强转丢失精度