equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2000, 2007, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2000, 2014, 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 |
166 * <p> |
166 * <p> |
167 * This ensures that <code> t1.equals(t2) </code> implies that <code> t1.hashCode()==t2.hashCode() </code> |
167 * This ensures that <code> t1.equals(t2) </code> implies that <code> t1.hashCode()==t2.hashCode() </code> |
168 * for any two <code>OpenMBeanInfo</code> instances <code>t1</code> and <code>t2</code>, |
168 * for any two <code>OpenMBeanInfo</code> instances <code>t1</code> and <code>t2</code>, |
169 * as required by the general contract of the method |
169 * as required by the general contract of the method |
170 * {@link Object#hashCode() Object.hashCode()}. |
170 * {@link Object#hashCode() Object.hashCode()}. |
171 * <p> |
|
172 * |
171 * |
173 * @return the hash code value for this <code>OpenMBeanInfo</code> instance |
172 * @return the hash code value for this <code>OpenMBeanInfo</code> instance |
174 */ |
173 */ |
175 public int hashCode(); |
174 public int hashCode(); |
176 |
175 |