Many serious Java programmers, especially enterprise Java programmers, consider the new I/O API--called NIO for New Input/Output--the most important feature in the 1.4 version of the Java 2 Standard Edition. The NIO package includes many things that have been missing from previous editions of Java that are critical to writing high-performance, large-scale applications: improvements in the areas of buffer management, scalable network and file I/O, character-set support, and regular expression matching. Most of all, it boosts performance and speed dramatically. Java NIO explores the new I/O capabilities of version 1.4 in detail and shows you how to put these features to work to greatly improve the efficiency of the Java code you write. This compact volume examines the typical challenges that Java programmers face with I/O and shows you how to take advantage of the capabilities of the new I/O features. You?ll learn how to put these tools to work using examples of common, real-world I/O problems and see how the new features have a direct impact on responsiveness, scalability, and reliability. The book includes: * A rundown of the new features in NIO * Basic and advanced I/O Concepts * Binary I/O and the new buffer classes * Memory mapped files and file locking * Character I/O: encoding, decoding and transforming character data * Regular Expressions and the new java.util.regex package * Muliplexing with java.nio Because the NIO APIs supplement the I/O features of version 1.3, rather than replace them, you'll also learn when to use new APIs and when the older 1.3 I/O APIs are better suited to your particular application. Java NIO is for any Java programmer who is interested in learning how to boost I/O performance, but if you're developing applications where performance is critical, such as game computing or large-scale enterprise applications, you'll want to give this book a permanent spot on your bookshelf. With the NIO APIs, Java no longer takes a backseat to any language when it comes to performance. Java NIO will help you realize the benefits of these exciting new features.
《设计问题(第四辑)》内容简介:本书共由十一篇文章组成,全部译自美国麻省理工学院(MIT)出版社出版的《设计问题》(Design Is
并行程序设计(第2版) 本书特色 本书系统介绍并行程序设计原理及应用。除介绍常用的一些算法范例,包括分治、流水、同步计算、主从及工作池,还介绍了一些常用的经典数...
云计算已经不仅仅是一项技术,或一个产品,或一种商业模式,它已经代表了IT产业的一个新的浪潮和时代。深受传统知识、思维、利益
《编译原理及实践》系统介绍了经典的编译理论和技术,同时也包含了面向对象语言等当前较新语言的编译技术。本书更可贵之处在于提
《极端的未来:超越未来的十大趋势》一书讲述了石油资源行将告罄,人类将如何面对?气候变化将使地球变得怎么样?惊人发展的医疗科
《股权一本通》内容简介:合理的股权设计和股权分配能够成为公司发展的源动力,能够有效解决人的问题、钱的问题、资源的问题、融资
《历史的倒影:元稹传播接受史》内容简介:《旧唐书》谓“元和主盟,微之、乐天而已”,元稹在中唐文坛之地位,由此可见一斑。但穆
感性工程学是什么,能干什么,如何使用,走向何方,这是《感性工程学》所要回答的4个关键问题,同时,也构成了感性工程学整个理论
《养命之方》内容简介:喜马拉雅FM健康类节目“聊聊张锡纯医案——罗大伦讲名医张锡纯传家食疗方”破亿次播放!传世经典《医学衷中
Howdidthepopularityofunderwearinthetwelfthcenturyleadtotheinventionoftheprinting...
《水彩绘》内容简介:经常有人问我,何为淡彩?淡彩,其实是指钢笔淡彩,钢笔起稿、水彩着色,钢笔深重的线条与轻柔的水彩形成对比
本书总共有49个栏目,以一位微软内部人士的视角,揭示了关于软件编码、软件测试和项目管理的残酷现实。作者文笔犀利,见解独到,
《自由的人》内容简介:本书是以梁实秋、林语堂为代表的众多亲历者,对中国近现代史上四位极具争议性的文人——徐志摩、郁达夫、闻
清晰、透彻和严谨是本书与其他数字通信教材的显著区别。本书由国际公认的专家和屡获殊荣的学者编写,是数字通信领域的基础性教材
《游戏动漫人体结构与动态:实例训练手册(常用动作)》内容简介:本书针对人体插画初学者在入门时遇到的难题而编写。本书是一本具
《逢考必过》内容简介:世界记忆大师的经典记忆著作,应战各种考试的制胜法宝,颠覆你既定记忆程序的学力提升指南! 8次世界脑力锦
“从公元前1世纪到公元15世纪的漫长岁月中,中国人,在应用自然知识与满足人的需求方面,曾经胜过欧洲人,那么,为什么近代科学革
《独立游戏开发》内容简介:本书第1篇适合所有想要了解独立游戏开发的读者阅读,第2、3篇则适合有一定C#或Java编程语言基础的游戏开
AdvancedLinuxProgrammingisdividedintotwoparts.ThefirstcoversgenericUNIXsystemser...
《到了南半球,一切都变了》内容简介:2012年3月,我获得新西兰打工旅行签证,每年中国大陆只有1000个名额,而我是幸运儿之一。201