摘要:
一 正常的写数据流程 源码注释: * DFSOutputStream creates files from a stream of bytes. * * The client application writes data that is cached internally by * this st 阅读全文
摘要:
1.说明:产生随机数的代码封装为一个静态函数,可以直接调用函数,传入两个参数。两个参数用于指定范围。 参数1:start 为指定区间的开始,参数2:end 为指定区间的结束。 2.代码: public class TestRandom { public static void main(String 阅读全文