摘要:
1.Collection 添加元素 boolean add(E e) 删除元素 boolean remove(E e) 元素个数 int size() 清空 void clear() 判空 boolean isEmpty() 是否包含元素 boolean contains(Object o) boo 阅读全文
posted @ 2019-12-16 22:26
赵钱富贵
阅读(137)
评论(0)
推荐(0)
摘要:
创建源 选择流 操作 释放 节点流 1.2.3.4. 1.访问文件 FileInputStream FileOutputStream FileReader FileWriter 2.访问(字节/字符)数组 ByteArrayInputStream ByteArrayOutputStream Char 阅读全文
posted @ 2019-12-16 22:24
赵钱富贵
阅读(130)
评论(0)
推荐(0)
摘要:
1. ip、域名、端口 InetAddress 封装计算机的ip和域名 获得对象 InetAddress.getLocalHost(); InetAddress.getByName(String host); //参数host可以是 ip地址/域名 InetAddress.getByAd 阅读全文
posted @ 2019-12-16 22:23
赵钱富贵
阅读(129)
评论(0)
推荐(0)

浙公网安备 33010602011771号