package 传智播客.day21_io.test; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.FileInputStream; import java.io.FileNotFoundE ...
分类:
其他好文 时间:
2018-06-13 19:39:49
阅读次数:
265
self.FishConfigList = ko.observableArray();self.GetFishConfigList = function (dept_code, report_id) { self.FishConfigList.removeAll(); var objdata = { ...
分类:
Web程序 时间:
2018-06-13 15:04:17
阅读次数:
340
del格式类似csv,我这里的测试文件test.del是从DB2数据库中导出来的一组数据。 apache commons csv的maven坐标为: 测试程序: 采用default格式不会将第一行当成Header。 更多资料参见:http://commons.apache.org/proper/co ...
分类:
Web程序 时间:
2018-06-13 12:06:13
阅读次数:
504
打去年一路北漂,进入无人货架行业,业务需求飘漫天,最近总算把工作都规划齐整。回头过去的一年多,诸多东西值得整理,memcache就是其中一个。 ...
分类:
编程语言 时间:
2018-06-13 11:52:16
阅读次数:
208
Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex ...
分类:
其他好文 时间:
2018-06-13 00:15:13
阅读次数:
196
实现移动端的即时搜索的最佳方案,一定是使用input propertychange事件了,但是在ios设备上遇到了问题,使用ios自带输入法输入汉字时,会出现多次触发input事件的情况,一开始可能由于搜索的关键字不得法,没有即时找到合适的方案,后来终于在网上找到了解决方案,现记录如下: 代码实现 ...
分类:
移动开发 时间:
2018-06-12 20:11:46
阅读次数:
269
C. Watto and Mechanism time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output Watto, the owner ...
分类:
其他好文 时间:
2018-06-12 19:35:50
阅读次数:
200
IO模型介绍 为了更好地了解IO模型,我们需要事先回顾下:同步、异步、阻塞、非阻塞 同步(synchronous) IO和异步(asynchronous) IO,阻塞(blocking) IO和非阻塞(non-blocking)IO分别是什么,到底有什么区别?这个问题其实不同的人给出的答案都可能不同 ...
分类:
其他好文 时间:
2018-06-12 19:33:48
阅读次数:
158
今天在学习Java的文件输入输出时,学习了高级流ObjectInputStream,它使用了是序列化的写入和写出,在写出的时候遇到了一个错误:java.io.InvalidClassException:local class incompatible: stream classdesc serial ...
分类:
编程语言 时间:
2018-06-12 12:15:05
阅读次数:
185
HTML5可预览多图片ajax上传(使用formData传递数据) 在介绍上传图片之前,我们简单的来了解下FormData的基本使用;介绍完成后这些基本知识后,我们会在文章最后提供一个demo,就是ajax多图片上传前预览效果。 1. formData的基本的用法:首先创建一个 空对象实例 代码如下 ...
分类:
Web程序 时间:
2018-06-12 11:40:05
阅读次数:
212