链接方法

result = method1().method2().method3();

先算第一个方法的结果,然后把这个结果作为第二个方法的对象,然后把结果再作为后面的对象。

posted @ 2011-04-09 14:02  绯色卡卡  阅读(146)  评论(0)    收藏  举报