equal
deleted
inserted
replaced
60 |
60 |
61 /** |
61 /** |
62 * Returns {@code true} if the arguments are equal to each other |
62 * Returns {@code true} if the arguments are equal to each other |
63 * and {@code false} otherwise. |
63 * and {@code false} otherwise. |
64 * Consequently, if both arguments are {@code null}, {@code true} |
64 * Consequently, if both arguments are {@code null}, {@code true} |
65 * is returned and if exactly one argument is {@code null}, {@code |
65 * is returned. Otherwise, if the first argument is not {@code |
66 * false} is returned. Otherwise, equality is determined by using |
66 * null}, equality is determined by calling the {@link |
67 * the {@link Object#equals equals} method of the first |
67 * Object#equals equals} method of the first argument with the |
68 * argument. |
68 * second argument of this method. Otherwise, {@code false} is |
|
69 * returned. |
69 * |
70 * |
70 * @param a an object |
71 * @param a an object |
71 * @param b an object to be compared with {@code a} for equality |
72 * @param b an object to be compared with {@code a} for equality |
72 * @return {@code true} if the arguments are equal to each other |
73 * @return {@code true} if the arguments are equal to each other |
73 * and {@code false} otherwise |
74 * and {@code false} otherwise |