-
This is a very good application software play
这是一个挺好玩的应用软件-This is a very good application software play
- 2022-03-02 05:18:19下载
- 积分:1
-
a compact personal information management processes, very practical, vc6 the sou...
一个小巧的个人信息管理程序,很实用,vc6的源码和可执行文件-a compact personal information management processes, very practical, vc6 the source and executable file
- 2022-02-01 09:05:35下载
- 积分:1
-
C++ Classic books, study entry can refer to the use of, personal feel good effec...
C++经典书籍,学习入门可以参考使用,个人觉得效果很好。-C++ Classic books, study entry can refer to the use of, personal feel good effect.
- 2022-05-21 11:01:59下载
- 积分:1
-
java的数据流
3.11 流
知道流的分类
掌握IO常用操作
Java中的流代表程序中数据的流通,是以先进先出方式发送信息的通道。
图3- 11 输入流和输出流
流可以分为不同的类型,按照不同的分类方式,从不同的角度来观察,概念上会有重叠。
按照流的方向,可以将流分为输入流和输出流:
输入流(InputStream):只能从中读取数据,而不能向其写入数据。
输出流(OutputStream):只能向其写入数据,而不能从中读取数据。
按照处理流的基本单位可以将流分为字节流和字符流:
字节流:在流中处理的基本单位为字节(8位的byte)的流。
字符流:在流中处理的基本单位为字符(16位的Unicode)的流。
按照流的角色分,可以将流分为节点流和过滤流:
节点流:可以从/向一个特定的IO设备(如磁盘或网络)读/写数据的流,节点流又常被称为低级流(Low Level Stream),节点通常是指文件、内存和管道。
过滤流:实现对一个已经存在的流的连接和封装,通过所封装的流的功能调用实现数据读/写功能的流。这种对流进行处理的流称为过滤流。
字节流中存放的是字节序列,无论是输入还是输出,都是直接对字节进行处理。InputStream和OutputStream为字节输入/输出流类的顶层父类。字符流中存放的是字符序列,无论是输入还是输出,都是直接对字符处理。字符流的顶层父类是Reader和Writer。节点流通常直接对特定的IO设备(如磁盘或网络)进行读写,而过滤流通常对已存在的流进行连接和封装,从而对已有的流进行特殊处理。
对象的序列化就是把对象写到一个输出流中,对象的反序列化是指从一个输入流中读取一个对象。
总结:
字节流:
输入流 输出流
FileInputStream FileOut
- 2022-01-25 23:22:03下载
- 积分:1
-
一种基于分类算法的网页信息提取方法.pdf
一种基于分类算法的网页信息提取方法.pdf-A Method of Web Information Extraction Based on Classification Algorithm.
- 2023-03-22 11:25:04下载
- 积分:1
-
8051控制器为基础的代码,其中短信可以控制设备连接到微控制器。
8051 controller based code in which SMS can control devices connected to Micro controller
- 2022-04-20 08:52:08下载
- 积分:1
-
vc编写的信访办公自动化系统,数据库使用odbc
vc编写的信访办公自动化系统,数据库使用odbc-a Guest Information System is written by VC. Database use ODBC.
- 2022-05-14 23:52:07下载
- 积分:1
-
This a program code that solves a puzzle.Which is in 3x3 grid you must place num...
This a program code that solves a puzzle.Which is in 3x3 grid you must place number from 1 to 9 such that all rows, columns and diagonals add up to 15.-This is a program code that solves a puzzle.Which is in 3x3 grid you must place number from 1 to 9 such that all rows, columns and diagonals add up to 15.
- 2022-01-20 22:56:08下载
- 积分:1
-
计算器能够实现基本的四则运算代码看起来简单能适应大多数程序初学者...
计算器能够实现基本的四则运算代码看起来简单能适应大多数程序初学者-Calculator to achieve the basic four computing code looks simple procedures to adapt to the majority of beginners
- 2022-02-21 18:59:43下载
- 积分:1
-
emb.zip: Earth
emb.zip: Earth-moon barycenter size 21KB.
Trigonometric expansion for the location of the Earth-Moon barycenter. A high precision fit to DE102.
地球月球之间质心计算公式。-emb.zip: Earth-moon barycenter size 21KB. Trigonometric expansion for the location of the Earth-Moon barycenter. A high precision fit to DE102. Earth
- 2022-02-02 15:42:14下载
- 积分:1