array_change_key_case —
返回字符串键名全为小写或大写的数组array_chunk — 将一个数组分割成多个array_combine —
创建一个数组,用一个数组的值作为其键名,另一个数组的值作为其值array_count_values — 统计数组中所有的值出现的次数arr...
分类:
Web程序 时间:
2014-05-09 18:21:04
阅读次数:
729
设置标题栏背景1> 准备背景图片:
background_pix.png注:用背景图片比用颜色好处,可以让背景看起来有凹凸感.2>
drawable文件夹下放xml文件bitmap_repeat.xml 3> 定义样式文件style.xml4>
在manifest.xml中引用主题android:t...
分类:
移动开发 时间:
2014-05-09 18:10:48
阅读次数:
530
单纯的为DOM树添加结点。 1 #!/usr/bin/env python 2 #
Generating XML with DOM - Chapter 8 - domgensample.py 3 4 from xml.dom import
minidom, Node 5 6 doc = mini.....
分类:
编程语言 时间:
2014-05-09 17:46:01
阅读次数:
468
Log4J的配置文件(Configuration
File)就是用来设置记录器的级别、存放器和布局的,它可接key=value格式的设置或xml格式的设置信息。通过配置,可以创建出Log4J的运行环境。1.
配置文件Log4J配置文件的基本格式如下: #配置根Loggerlog4j.rootLogg...
分类:
其他好文 时间:
2014-05-09 17:24:38
阅读次数:
436
用Eclipse直接创建的webservice客户端,调用webservice出现异常:Caused
by: org.xml.sax.SAXException: Bad envelope tag: definitionsat
org.apache.axis.message.EnvelopeBuild...
分类:
Web程序 时间:
2014-05-09 12:20:40
阅读次数:
1171
AnyGantt是完全跨浏览器和跨平台的。它可用于ASP.NET,ASP,PHP,JSP,ColdFusion,Ruby
on
Rails,简单的HTML页和PowerPoint演示文稿。AnyGantt控件使用XML作为通用数据接口,所以你可以从任何仓库显示数据:从文本文件,Excel,CSV格式...
分类:
其他好文 时间:
2014-05-09 12:13:21
阅读次数:
477
今天学习了单表查询和多表查询,编写代码过程中,调试时出现了一个500错误,错误原因是在createQuery时,字段与Student类中的字段不一样,比如说我在数据库的是StuID,而我们需要的字段是stuId.还有当我们删除了Student类时对应的配置Student.hbm.xml中的信息也要删...
分类:
其他好文 时间:
2014-05-09 12:08:03
阅读次数:
493
1 $() vs $$("someSelector") returns a array.
This is defiend in jQuery.prototype.$.methodName is a method defined in
jQuery...2methods below will stop...
分类:
Web程序 时间:
2014-05-09 11:33:38
阅读次数:
371
Given an array of non-negative integers, you
are initially positioned at the first index of the array.Each element in the
array represents your maximu...
分类:
其他好文 时间:
2014-05-05 10:05:58
阅读次数:
300
Array和List的区别在于前者可以随机访问,而后者只能顺序访问。对于把排好序的array转成BST,可以用top-down的方式,很直观也很自然,时间复杂度是O(n)。而对于List如果采用同样的方式,每次需要顺序遍历到中间节点,时间复杂度变成O(nlogn),如果换一种思路,down-top,...
分类:
其他好文 时间:
2014-05-05 09:34:29
阅读次数:
454