集合特点: 1.用于存储对象的容器。 2.集合的长度是可变的。
3.集合中不可以存储基本数据类型值。Collection接口常见方法:1.添加 booleanadd(obj);
booleanaddAll(Collection coll);2.删除 booleanremove(obj);...
分类:
编程语言 时间:
2014-05-09 19:15:18
阅读次数:
320
集合:集合是一个可以存放任意类型,并且可以改变长度的数组,但是集合中不可存放基础数据类型,jdk1.5版本之后通过自动拆箱和自动拆包功能,基础数据类型转化为String类型才能存放进集合集合框架的分类:一,collection:特征是存放的是单一值元素collection的分类:List集合:特征是...
分类:
编程语言 时间:
2014-05-09 18:42:24
阅读次数:
310
Question:HowdoIview,modifyandrecreatethenewinitrd.imgonUbuntu,Debian,CentOS,Fedora,Red-Hat,ArchLinux,orSUSEdistributions?1.HowToViewContentOfinitrd.imgfile?initrd.imgisingzipformat.Somoveinitrd.imgtoinitrd.gzasshownbelow.#cp/tftpboot/el5/initrd.img.
#ls
cd..
分类:
其他好文 时间:
2014-05-05 12:31:38
阅读次数:
359
Windows
Phone程序中,并没有之前的类似于“App.Exit()”之类的函数用来让你退出程序。这是怎么回事儿呢? 很简单,在Windows Phone
7中系统要求配备了硬件的“Back”键,该键用于在程序中导航(返回)到上一个页面(屏幕)或者应用程序。 当菜单、对话框、搜索框、虚...
分类:
其他好文 时间:
2014-05-05 12:10:49
阅读次数:
227
WP7中如何阻止Back后退键的后退事件呢?
WP7上提供了物理的Back按键,获取Back物理键按下可以通过PhoneApplicationPage的BackKeyPress事件。 具体实现方法如下:
1、在xaml中的PhoneApplicationPage节点加入BackKeyPr...
分类:
其他好文 时间:
2014-05-05 12:10:22
阅读次数:
192
1.XSS (Cross-Site Scripting) 跨站脚本攻击,
是Web程序中最常见的漏洞。指攻击者在网页中嵌入客户端脚本(例如JavaScript),
当用户浏览此网页时,脚本就会在用户的浏览器上执行,从而达到攻击者的目的,比如获取用户的Cookie,导航到恶意网站,携带木马等。2. ....
分类:
Web程序 时间:
2014-05-05 11:02:55
阅读次数:
342
LDAP Guide? Back to documentation
indexIntroductionThis document details how to configure your Openfire
installation to use an external directory such...
分类:
其他好文 时间:
2014-05-04 20:53:28
阅读次数:
712
vector > p1(pt1.size(), vector(2));
vector> ps;
vector pp;
for(int i = 0; i
{
p1[i][0] = pt1[i].x;
p1[i][1] = pt1[i].y;
pp.push_back(pt1[i].x);
pp.push_back(pt1[i].y);
ps.push_back(pp...
分类:
其他好文 时间:
2014-05-04 18:05:41
阅读次数:
238
Oneofthemostremarkableachievementinthehistoryofmankindiscomputers.Anotheramazingfactaboutthisremarkableachievementcalledcomputersisthatitsacollectionofdifferentelectroniccomponents,andtheyworktogetherincoordinationtogiveyouameaningfuloutput.Weinourdaytodayl..
分类:
系统相关 时间:
2014-05-04 17:05:15
阅读次数:
608