Merge "docs: Add documentation for equals() method" into qt-dev

This commit is contained in:
Kevin Hufnagle
2020-01-07 22:29:32 +00:00
committed by Android (Google) Code Review

View File

@@ -305,6 +305,12 @@ public final class ComponentName implements Parcelable, Cloneable, Comparable<Co
proto.end(token);
}
/**
* {@inheritDoc}
*
* <p>Two components are considered to be equal if the packages in which they reside have the
* same name, and if the classes that implement each component also have the same name.
*/
@Override
public boolean equals(Object obj) {
try {