会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
凛冬雪夜
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
下一页
2024年9月26日
BigDecimalUtil
摘要: import java.math.BigDecimal; import java.math.RoundingMode; import java.text.DecimalFormat; public class BigDecimalUtil { // 除法运算默认精度 private static f
阅读全文
posted @ 2024-09-26 21:59 凛冬雪夜
阅读(35)
评论(0)
推荐(0)
2024年9月22日
日期类
摘要: 点击查看代码 import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import java.time.LocalDate; impor
阅读全文
posted @ 2024-09-22 16:40 凛冬雪夜
阅读(12)
评论(0)
推荐(0)
2024年9月11日
anaconda
摘要: anaconda 安装 单词 anaconda /ˌænəˈkɑːndə/ 参考 https://blog.csdn.net/weixin_56197703/article/details/124630222 下载地址 https://www.anaconda.com/ 注意 安装路径中不能含空格和
阅读全文
posted @ 2024-09-11 22:42 凛冬雪夜
阅读(93)
评论(0)
推荐(0)
2024年9月1日
文件上传下载
摘要: import cn.hutool.core.io.FileUtil; import cn.hutool.core.io.IoUtil; import lombok.SneakyThrows; import org.apache.commons.lang3.StringUtils; import or
阅读全文
posted @ 2024-09-01 23:10 凛冬雪夜
阅读(16)
评论(0)
推荐(0)
2024年8月29日
itextpdf导出
摘要: <!-- https://mvnrepository.com/artifact/com.itextpdf/itextpdf --> <dependency> <groupId>com.itextpdf</groupId> <artifactId>itextpdf</artifactId> <vers
阅读全文
posted @ 2024-08-29 23:16 凛冬雪夜
阅读(45)
评论(0)
推荐(0)
2021年7月6日
obj.wait() 方法注意事项
摘要: wait() 方法使用示例 synchronized (obj) { while (<condition does not hold>) obj.wait(timeout); ... // Perform action appropriate to condition } 问: 这里的条件判断为什么
阅读全文
posted @ 2021-07-06 16:23 凛冬雪夜
阅读(150)
评论(0)
推荐(0)
2021年7月4日
线程的生命周期
摘要: 进程和线程 进程: 操作系统资源管理的基本单位(Windows系统进入任务管理器,选择进程,即可看到一个个的进程) 线程: CPU 调度的基本单位 多线程优点 资源利用率更好,利用 CPU 空闲时间处理其他任务 某些情况下程序设计更简单 提高接口响应速度 线程的生命周期 线程的 6 个状态 publ
阅读全文
posted @ 2021-07-04 16:02 凛冬雪夜
阅读(55)
评论(0)
推荐(0)
2021年7月1日
BitMap位图
摘要: 基础 单位换算 1 GB = 1024 MB // B: Byte 字节 1 MB = 1024 KB 1 KB = 1024 B 1 B = 8 Bit // Bit: 位 java 中的 int 和 long int 占用 4 个字节,即 4 * 8 = 32 bit;long 占用 8 个字节
阅读全文
posted @ 2021-07-01 14:34 凛冬雪夜
阅读(226)
评论(0)
推荐(0)
2021年6月10日
java中常见错误
摘要: 编译器错误 编译器错误信息是在Java软件代码通过编译器运行时创建的.一定要记住,编译器可能会为一个错误抛出许多错误信息.因此,修复第一个错误并重新编译,可以解决很多问题。 1. “… expected” 缺少分号";"或右括号")" private static double volume(Str
阅读全文
posted @ 2021-06-10 17:30 凛冬雪夜
阅读(1265)
评论(0)
推荐(0)
2021年6月9日
反转二叉树
摘要: 方式一: 递归实现 TreeNode invertTree(TreeNode node) { if (node == null) { return null; } TreeNode temp = node.left; node.left = node.right; node.right = temp
阅读全文
posted @ 2021-06-09 13:47 凛冬雪夜
阅读(45)
评论(0)
推荐(0)
上一页
1
2
3
下一页
公告