
学习笔记
文章平均质量分 57
离&染
出淤泥而不染,濯清涟而不妖。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
java_集合简说
序言java中的集合,分为单列集合和双列集合,单列集合实现于Collection接口,双列集合实现于Map接口(以键值对的方式存储)。原创 2021-06-02 16:29:32 · 141 阅读 · 0 评论 -
使用FileInputStream读取txt文件
我们常说的集合一般分为两种,即List与Map集合。本文阐述他们的种类与关系。原创 2018-11-30 15:05:50 · 1819 阅读 · 0 评论 -
java 利用FileOutputStream类把内容写入txt文件
public static void fileOutPutStream() throws Exception{ String str = "君不见黄河之水天上来,奔流到海不复回。君不见高堂明镜悲白发,早如青丝暮成雪。";//写入的内容 File file = new File("D:\\io\\B.txt"); //写入的路径及文件名 FileOu...原创 2018-11-30 16:40:40 · 3129 阅读 · 0 评论 -
优快云 kotlin学习笔记之as关键字
1,类型转换。2,重取别名。3, as? 表示安全类型转换。原创 2018-11-27 17:48:59 · 1712 阅读 · 0 评论 -
java FileInputStream与FileOutputStream复制文件
public static void copy() throws Exception{ File file = new File("D:\\io\\E.jpeg"); //文件路径及文件名 FileInputStream input = new FileInputStream(file); File copyToFile = new File("D:\\io\\copy\...原创 2018-11-30 16:57:28 · 256 阅读 · 0 评论 -
java 管道(pipedStream)详解
地址链接:http://www.cnblogs.com/skywang12345/p/io_04.html上述博客已经写的很详细,管道流的作用:不同线程之间的通信。out.connect(out)等价于in.connect(in)。且缓冲区的默认大小为1024字节。...转载 2018-12-03 14:30:04 · 712 阅读 · 0 评论 -
java BufferedRead读取txt文件
public static void readBuff(){ File file = new File("D:\\io\\A.txt"); try{ FileInputStream fileReader = new FileInputStream(file); BufferedReader read = new Bu...原创 2018-12-03 17:32:52 · 1615 阅读 · 0 评论 -
springboot @Schedul报错,***.factory.BeanCreationException: Error creating bean with with name '‘
错误信息如下:Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.2018-12-12 11:52:31.351 ERROR 9280 --- [ main] o.s.boot.SpringA...原创 2018-12-12 12:04:48 · 714 阅读 · 0 评论 -
java中整形变量范围
在java的基本数据类型中,整形变量有四种,即byte、short、int、long。类型 byte short int long 字节数 1 2 4 8 位数 8 16 32 64 范围 -2^7 至 2^7-1 -2^15 至 2^15-1 -2^31 至 2^31-1 ...原创 2019-07-21 18:51:07 · 3644 阅读 · 0 评论