摘要:        
Chapter 3 Methods Common to All Objects Item 8: Obey the general contract when overriding equals 以下几种情况不需要你override这个类的equals方法:这个类的每一个实例天生就是unique的,比    阅读全文
posted @ 2017-07-15 11:00
raytheweak
阅读(222)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Chapter 2 Creating and Destroying Objects item 1:Consider static factory methods instead of constructors 一个static factory method只不过是一个返回这个类的实例的static方    阅读全文
posted @ 2017-07-15 10:23
raytheweak
阅读(242)
评论(0)
推荐(0)
        
                    
                
浙公网安备 33010602011771号