2023年1月4日

AutoCloseable

摘要: 转载自https://blog.csdn.net/WU4566285/article/details/115101128 1、AutoCloseable接口的介绍从AutoCloseable的注释可知它的出现是为了更好的管理资源,准确说是资源的释放。当一个资源类实现了该接口的close方法,在使用t 阅读全文

posted @ 2023-01-04 10:43 sunshineicy 阅读(124) 评论(0) 推荐(0) 编辑

2022年11月27日

Mac安装虚拟机

摘要: 转载:https://blog.csdn.net/weixin_43917335/article/details/109536281 开始下载的VMware Fusion,然后下载win10的ios镜像,但是VM一直识别不了镜像 于是下载了Parallel Desktop,之后安装ios镜像,装上点 阅读全文

posted @ 2022-11-27 15:04 sunshineicy 阅读(372) 评论(0) 推荐(0) 编辑

2022年2月24日

mybatis

摘要: 判断list是否为空 <where> <if test="CodeList!=null and CodeList.size > 0"> loc.eb_code in <foreach collection="locationCodeList" item="Code" open="(" separat 阅读全文

posted @ 2022-02-24 17:50 sunshineicy 阅读(14) 评论(0) 推荐(0) 编辑

2022年2月23日

easyexcel使用

摘要: https://www.yuque.com/easyexcel/doc/write#xuM8l这里面写的非常清楚 @Data @ApiModel("导出Excel") @HeadStyle(fillForegroundColor = 22) @HeadFontStyle(fontHeightInPo 阅读全文

posted @ 2022-02-23 10:09 sunshineicy 阅读(404) 评论(0) 推荐(0) 编辑

2021年8月30日

Apoll

摘要: 参考文章: https://www.cnblogs.com/harrychinese/p/apollo_java.html https://blog.csdn.net/qq_41456051/article/details/105922538 https://www.jianshu.com/p/3c 阅读全文

posted @ 2021-08-30 17:02 sunshineicy 阅读(279) 评论(0) 推荐(0) 编辑

2019年12月9日

旋转数组

摘要: 将包含 n 个元素的数组向右旋转 k 步。 例如,如果 n = 7 , k = 3,给定数组 [1,2,3,4,5,6,7] ,向右旋转后的结果为 [5,6,7,1,2,3,4]。 网上 参考:https://blog.csdn.net/wangbo1998/article/details/7980 阅读全文

posted @ 2019-12-09 16:58 sunshineicy 阅读(302) 评论(0) 推荐(0) 编辑

已排序数组去重

摘要: 给定一个排序的数组,删除重复,使每个元素最多允许重复两次,并返回新的长度。 不开另外的数组,使得原数组前几位(new length)即为去重后结果。 网上 参考:https://blog.csdn.net/liyinan11/article/details/71036227 阅读全文

posted @ 2019-12-09 14:27 sunshineicy 阅读(300) 评论(0) 推荐(0) 编辑

两数之和

摘要: 给定一个整数数组 nums 和一个目标值 target,请你在该数组中找出和为目标值的那两个整数,并返回他们的数组下标。 你可以假设每种输入只会对应一个答案。但是,你不能重复利用这个数组中同样的元素。 示例: 给定 nums = [2, 7, 11, 15], target = 9 因为 nums[ 阅读全文

posted @ 2019-12-09 14:20 sunshineicy 阅读(280) 评论(0) 推荐(0) 编辑

2019年10月9日

session和cookie

摘要: 转载:https://www.iteye.com/blog/uule-2211575 https://blog.csdn.net/u014753892/article/details/52821268 https://www.cnblogs.com/lonelydreamer/p/6169469.h 阅读全文

posted @ 2019-10-09 16:33 sunshineicy 阅读(199) 评论(0) 推荐(0) 编辑

2019年10月8日

抽象类和接口

摘要: 转载:https://blog.csdn.net/qq_37766026/article/details/90702387 https://www.jianshu.com/p/93d701282bd9 一、抽象类 在面向对象的概念中,所有的对象都是通过类来描绘的,但是反过来,并不是所有的类都是用来描 阅读全文

posted @ 2019-10-08 16:09 sunshineicy 阅读(115) 评论(0) 推荐(0) 编辑

导航