StringBuffer sb=new StringBuffer(); int n = 5; sb.append("<tr>"); List<MenuBean> chs = mb.getChildren(); for(int j = 0; chs != null && j < chs.size(); ...
分类:
编程语言 时间:
2017-06-14 13:08:14
阅读次数:
500
select * from testtable; type subtype value a sa 1b sb 1a sb errorb sa errora sb 1b sb 1c sa errorc sb 1c sc 1c sc 1c sa error select sum(`value`) fro ...
分类:
数据库 时间:
2017-06-13 17:14:11
阅读次数:
175
为了我的点歪的技能树…… 所以开始补一些sb的东西…… ...
分类:
其他好文 时间:
2017-06-11 21:42:41
阅读次数:
184
StringBuffer:String增强版 对字符串频繁修改(如字符串链接)时,使用StringBuffer类可以提高程序执行效率 StringBuffer声明: StringBuffer SB=newStringBuffer(); 创建空StringBuffer对象 StringBuffer S ...
分类:
其他好文 时间:
2017-06-11 21:21:48
阅读次数:
153
a.StringBuffer:String增强版 对字符串频繁修改(如字符串链接)时,使用StringBuffer类可以提高程序执行效率 b.StringBuffer声明 StringBuffer SB=newStringBuffer(); 创建空StringBuffer对象 StringBuffe ...
分类:
其他好文 时间:
2017-06-11 21:20:11
阅读次数:
96
https://vjudge.net/problem/UVA-11796 题意:甲和乙两条狗分别沿着不同的折线奔跑,速度未知,但是他们同时出发,同时到达,并且匀速奔跑 求甲和乙在奔跑过程中的最远距离与最近距离之差 因为运动是相对的,所以将甲看做不动 将运动分解为方向向量sa、sb和位移向量va、vb ...
分类:
其他好文 时间:
2017-06-10 12:28:20
阅读次数:
135
一、列表 list=[11,22,33,44,55,66] .append() 向后追加元素 .count() 查看有元素出现的次数 .extend() 批量添加元素 .index() 获取指定元素的索引位置 .insert(1,‘SB’) 在指定索引的位置插入值 .pop() 移除最后一个值 a= ...
分类:
编程语言 时间:
2017-06-08 16:39:24
阅读次数:
154
问题描述 使用 Windows Server 2012 R2 或 Windows Server 2016系统,发现在安装 .NET Framework 3.5.1 时报错,报错内容如下图所示。 原因分析 找不到安装源文件。 解决办法 您可以使用如下 PowerShell 脚本进行安装。 从 开始 菜 ...
1:编写for循环,利用索引遍历出每一个字符 msg='hello egon 666' 2:编写while循环,利用索引遍历出每一个字符 msg='hello egon 666' 3:msg='hello alex'中的alex替换成SB 4:msg='/etc/a.txt|365|get' 将该字 ...
分类:
编程语言 时间:
2017-06-08 10:39:13
阅读次数:
182