equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1999, 2000, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
89 |
89 |
90 /** |
90 /** |
91 * Determines whether obj is equal to this RefAddr. |
91 * Determines whether obj is equal to this RefAddr. |
92 *<p> |
92 *<p> |
93 * obj is equal to this RefAddr all of these conditions are true |
93 * obj is equal to this RefAddr all of these conditions are true |
94 *<ul> non-null |
94 *<ul> |
|
95 *<li> non-null |
95 *<li> instance of RefAddr |
96 *<li> instance of RefAddr |
96 *<li> obj has the same address type as this RefAddr (using String.compareTo()) |
97 *<li> obj has the same address type as this RefAddr (using String.compareTo()) |
97 *<li> both obj and this RefAddr's contents are null or they are equal |
98 *<li> both obj and this RefAddr's contents are null or they are equal |
98 * (using the equals() test). |
99 * (using the equals() test). |
99 *</ul> |
100 *</ul> |