上一页 1 2 3 4 5 6 7 8 9 10 ··· 21 下一页
摘要: 使用平台的默认字符集将该String编码为一系列字节,将结果存储到新的字节数组中。 2. public byte[] getBytes​(String charsetName) throws UnsupportedEncodingException 使用命名的字符集将这个String编码成一个字节序 阅读全文
posted @ 2019-08-28 14:29 水果、、 阅读(500) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-08-28 13:55 水果、、 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-08-28 13:30 水果、、 阅读(315) 评论(0) 推荐(0) 编辑
摘要: package com.io.liushuaishuai; /* 四种方式复制视频 记录时间 1 基本字节流一次一个字节 2基本字节流一次一个字节数组 3字节缓冲流1 基本字节流一次一个字节 4字节缓冲流一次一个字节数组 */ import java.io.*; public class CopyMp4Demo { public static void main(Strin... 阅读全文
posted @ 2019-08-28 11:36 水果、、 阅读(531) 评论(0) 推荐(0) 编辑
摘要: package com.io.liushuaishuai; import java.io.*; public class BufferStreamDemo { public static void main(String[] args) throws IOException { /* //字节缓冲输出流 BufferedOutputStream bos =new BufferedOutputStr 阅读全文
posted @ 2019-08-28 10:25 水果、、 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 不死神兔 求阶乘 遍历目录 阅读全文
posted @ 2019-08-27 16:40 水果、、 阅读(488) 评论(0) 推荐(0) 编辑
摘要: 运行结果: 升级版 阅读全文
posted @ 2019-08-27 11:24 水果、、 阅读(465) 评论(0) 推荐(0) 编辑
摘要: 这里和TreeSet不同的是:这里的比较器是通过在Collections类的sort方法中接收比较器,而TreeSet通过自己的有参构造方法来传入比较器。 阅读全文
posted @ 2019-08-26 18:15 水果、、 阅读(474) 评论(0) 推荐(0) 编辑
摘要: Java复习提纲 了解掌握java基本数据结构int,float,double,long,long long,char。 了解掌握java基本类型封装类Integer,Double,Float,String等的使用,着重留意String类的方法 了解掌握java数组的使用,包括,创建,初始化,使用 阅读全文
posted @ 2019-08-26 18:02 水果、、 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-08-26 18:00 水果、、 阅读(136) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 21 下一页