lambda-dev Digest, Vol 31, Issue 5
    Paulo Silveira 
    paulo.silveira at caelum.com.br
       
    Tue Jun  5 13:41:01 PDT 2012
    
    
  
2012/6/5 James Shaw <js102 at zepler.net>
> On 4 June 2012 22:06, David Conrad <drconrad at gmail.com> wrote:
> Or-ing Comparable methods with equals() seems potentially dangerous given
> that a class may implement Comparable but not override equals().
>
>
And even if it does override equals, it is not required to a Comparable to
be consistent with equals.
--
Paulo Silveira
Caelum | Ensino e Inovação
www.caelum.com.br
    
    
More information about the lambda-dev
mailing list