摘要: [1] TodoData 单例模式类的 完成 读写文件 [2] resources资源文件 子文件夹 命名 com/beans 不是 com.beans [3] 花费比较长的时间去找这个 txt的 文件;它在为了让 被 读取到.... 发现 java文件/.class文件 在src的多级子目录下;但 阅读全文
posted @ 2023-02-12 23:42 叶漾知 阅读(14) 评论(0) 推荐(0)
摘要: 1、单例模式: 饿汉式 单例有问题,结果不一样: 32min的时候 就不明白了 静态内部类都不会被加载??? bilibili.com/video/BV1UA411G7YN/?p=2&spm_id_from=pageDriver&vd_source=e8afff6d62e95d02f0e9a5540 阅读全文
posted @ 2023-02-12 05:01 叶漾知 阅读(11) 评论(0) 推荐(0)
摘要: 【1】 JavaFX中的事件 一个是在fxml里面为页面添加onAction; 一个是通过 控件id 在 controller里面加 【2】setOnAction() javafx addlistenner 实现对textField的内容监听: https://www.cnblogs.com/sle 阅读全文
posted @ 2023-02-10 21:30 叶漾知 阅读(19) 评论(0) 推荐(0)
摘要: 【1】why Java接口作为参数传递https://stackoverflow.com/questions/2575429/interface-as-a-method-parameter-in-java There are many examples in the Java standard AP 阅读全文
posted @ 2023-02-02 22:45 叶漾知 阅读(17) 评论(0) 推荐(0)
摘要: Java中Comparable和Comparator区别小结 https://www.cnblogs.com/xujian2014/p/5215082.html Java中的Comparable和Comparator到底该怎么用看完就全明白了 https://baijiahao.baidu.com/ 阅读全文
posted @ 2023-01-29 06:04 叶漾知 阅读(9) 评论(0) 推荐(0)
摘要: class Solution { // 14 ms, faster than 55.67% public int kthSmallest( int[][] matrix, int k ) { int m = matrix.length, n = matrix[0].length ; // For g 阅读全文
posted @ 2023-01-29 03:31 叶漾知 阅读(29) 评论(0) 推荐(0)
摘要: Http协议: https://xiaolincoding.com/network/2_http/http_interview.html#http-%E5%9F%BA%E6%9C%AC%E6%A6%82%E5%BF%B5 HTTP 是一个在计算机世界里专门在「两点」之间「传输」文字、图片、音频、视频 阅读全文
posted @ 2023-01-14 20:42 叶漾知 阅读(38) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-01-13 19:00 叶漾知 阅读(13) 评论(0) 推荐(0)
摘要: Subroutine In computers, a subroutine is a sequence of program instructions that perform a specific task, packaged as a unit. This unit can then be us 阅读全文
posted @ 2023-01-12 21:26 叶漾知 阅读(46) 评论(0) 推荐(0)