当前位置:首页 » 编程博文
开发技术指南» 文章正文
    引言: Expertise: IntermediateLanguage:
 

 

 ·php5的xml新特性    »显示摘要«
    摘要:php5的xml新特性 作者 christian stocker 翻译 ice_berg16(寻梦的稻草人) 面向的读者 这篇文章的面向对象是所有对php5的xml新功能感兴趣的各个水平的php开发者。我们假定读者掌握xml的基本知识。然而,如果你已经在你的php当中使用了xml,那么这篇文章也会让你受益非浅。 介绍 在当今的互联网世界,xml已经不再是一个时髦词了,它已经被广泛的接受和规范的使用......
    摘要:本笔记的后续文字将不在此处发表,各位朋友请见第二书店-书评-凌杰的暑假读书笔记系列, 此后我将每周发表1-2篇,请于关注。谢谢、 网址:http://www.dearbook.com.cn/guide/viewguide.aspx?guideid=188 ......


移除ArrayList内重复数据的两个方法

【推荐阅读:PHPer:让我们拥抱敏捷吧

expertise: intermediatelanguage: java two methods to remove duplicates in an arraylist here are two methods that allow you to remove duplicates in an arraylist. removeduplicate does not maintain the order where as removeduplicatewithorder maintains the order with some performance overhead. 1.the removeduplicate method: /** list order not maintained **/ public static void removeduplicate(arraylist arllist) {    hashset h = new hashset(arllist);    arllist.clear();    arllist.addall(h); }


...   下一页
 ·robocode的线程与执行次序    »显示摘要«
    摘要:  robocode的每个机器人都是一个线程,线程调度为非强占式,由战斗管理线程依次调度运行。每个线程执行到一个阻塞函数的时候,交出cpu占用权。对于advancedrobot,阻塞函数是excute()。   从这个角度而言,可以把robocode看作是回合制的游戏,每个回合各个robot设定要做些什么操作,即调用setxxx(),调用excute()完成本回合的操作设定。各个robot都设定完......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE