原理介绍: http://www.cnblogs.com/sanjer/articles/1705449.html
用法/示例: http://www.cnblogs.com/yangbingqi/archive/2011/07/02/2096197.html