Skip to content

Checking equality of objects of different types #83

@cushon

Description

@cushon

Original issue created by eaftan@google.com on 2013-02-11 at 09:53 PM


For reference equality: If the two references are of different class types with no common subclasses, then this will always return false.

For equals(): This method calls equals() on two references of different class types with no common subclasses. In this case, equals() will most likely return false. Note that it is possible to define an equals() method that does return true when given an object of different types.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions