会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
白羽轻飘
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
12
下一页
2019年8月19日
c# dynamic实现动态实体,不用定义实体就能序列化为标准json
摘要: List<string> names = new List<string>() { "a00", "b00", "c00", "d00" }; dynamic obj = new DynObj(); obj.date = "2019-02-26"; obj.stories = names; stri
阅读全文
posted @ 2019-08-19 14:46 白羽轻飘
阅读(1600)
评论(1)
推荐(0)
2019年8月13日
java读取文件的几种方式性能比较
摘要: 普通输入流:68513ms 带缓冲的方式:116ms 随机访问读取:81203ms 磁盘映射读取方式:102ms
阅读全文
posted @ 2019-08-13 20:04 白羽轻飘
阅读(3295)
评论(0)
推荐(0)
2019年6月6日
.NET 对文件和文件夹操作的介绍
摘要: 1 Directory和File类只包含静态方法,不能被实例化 2 DirectoryInfo和FileInfo他们是有状态的,需要被实例化
阅读全文
posted @ 2019-06-06 13:06 白羽轻飘
阅读(753)
评论(0)
推荐(0)
2019年5月15日
java利用反射打印出类的结构
摘要: 1 输入一个类名:java.lang.String将打印出String类定义的结构,例如: 主程序如下:
阅读全文
posted @ 2019-05-15 17:03 白羽轻飘
阅读(708)
评论(0)
推荐(0)
2019年5月7日
java输出月的日历控制台
摘要: LocalDate date=LocalDate.now(); int month=date.getMonthValue(); int today=date.getDayOfMonth(); date=date.minusDays(today-1); DayOfWeek weekDay= date.getDayOfWeek(...
阅读全文
posted @ 2019-05-07 16:53 白羽轻飘
阅读(416)
评论(0)
推荐(0)
2019年5月3日
java 实现二分查找算法
摘要: 1 调用 int[] arr=new int[] {1,2,3,4,5,6,7,8,9,10}; int index= binarySearch(arr, 8); System.out.println("查找的值8位于数组中的索引为:"+index); 默认传入的数组是排好序的
阅读全文
posted @ 2019-05-03 19:09 白羽轻飘
阅读(661)
评论(0)
推荐(0)
java实现快速排序
摘要: int[] arr= {6, 1, 2 ,7 ,9 ,3 ,4 ,5, 10 ,8}; int[] sortArr=Sort(arr,0,arr.length-1);
阅读全文
posted @ 2019-05-03 18:12 白羽轻飘
阅读(224)
评论(0)
推荐(0)
2019年4月10日
解决window 12 service 不能调用excel ,报"System.Runtime.InteropServices.COMException (0x800A03EC)
摘要: Step1: 运行comexp.msc -32 注意因为excel 是32 位的,所以这里用的32位的操作, 如用64位的操作命令:dcomcnfg.exe,将找不到excel com 进入component service Step2, 找到excel设置安全属性 Step3->增加用户,赋予权限
阅读全文
posted @ 2019-04-10 15:24 白羽轻飘
阅读(1803)
评论(0)
推荐(0)
2018年12月1日
3 webpack 4 加vue 2.0生产环境搭建
摘要: 1 在前两篇笔记中已经能把开发环境弄好了,接来下构建他的生产环境 2 使用npm 安装url-loader和file-loader来支持图片和字体 npm install --save-dev url-loader npm install --save-dev file-loader 3 配置web
阅读全文
posted @ 2018-12-01 16:46 白羽轻飘
阅读(349)
评论(0)
推荐(0)
2018年11月27日
2 webpack 4 加vue搭建开发环境最终配置
摘要: 1 package.json 2 webpack.config.js
阅读全文
posted @ 2018-11-27 15:26 白羽轻飘
阅读(250)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
12
下一页
公告