- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 并发编程:几个关键概念和三个经典问题
几个关键概念 Race Condition A race condition or race hazard is a flaw in an electronic system or process whereby the output and/or result of the process is unexpectedly and critically dependent on the sequence or timing of other events. The term originates wit
2010-08-30 16:43:00 2936
原创 老调重弹 Composition versus Inheritance
<br />http://www.artima.com/designtechniques/compoinh.html<br /> <br />By contrast, a change to a superclass's interface can not only ripple down the inheritance hierarchy to subclasses, but can also ripple out to code that uses just the subclass's interfa
2010-08-24 22:31:00 1657
原创 七种武器:Collection 之 Google Guava
baseString<br />java String 即一个不可变的char数组Splitter<br />String[] split = str.split(String regex);<br />Google Splitter的分隔符可以是单个的char,或者CharMatcher,或者字符串str,或者正则表达式的字符串patternStr,或者是一个Pattern,或者是固定length来分隔,分别有对应的 Factory 方法(on)来返回Splitter实例<br />另外还有trimRes
2010-08-20 17:31:00 5776
原创 也谈浮点精度问题:找回丢失的精度
要点<br />在java float double精度为什么会丢失?浅谈java的浮点数精度问题中描述了java中float精度丢失的问题:即便是整数也可能发生精度丢失。顺着其思路,我们简要复习一下关于floating point的精度问题IEEE754arithmetic formats<br />Binary floating-point numbers are stored in a sign-magnitude form where the most significant bit i
2010-08-16 17:27:00 2448
原创 jaxb jaxp使用xml来生成动态页面 - xml xsd xsl ( xpath xslt ) css 概念入门
问题:公司里面的一个项目需要建立一个Test Benchmark 来比较不同算法计算的mileage需求定义:只有少量的操作(页面)结构化的数据(TestCase, TestResult)选择使用XML instead of html1. 定义XSD文件
2010-08-12 17:32:00 3993 2
Social Networks: Getting Distributed Web Services Done with NoSQL
2010-07-12
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人