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 |
111 * <p> |
111 * <p> |
112 * This ensures that <code> t1.equals(t2) </code> implies that <code> t1.hashCode()==t2.hashCode() </code> |
112 * This ensures that <code> t1.equals(t2) </code> implies that <code> t1.hashCode()==t2.hashCode() </code> |
113 * for any two <code>OpenMBeanAttributeInfo</code> instances <code>t1</code> and <code>t2</code>, |
113 * for any two <code>OpenMBeanAttributeInfo</code> instances <code>t1</code> and <code>t2</code>, |
114 * as required by the general contract of the method |
114 * as required by the general contract of the method |
115 * {@link Object#hashCode() Object.hashCode()}. |
115 * {@link Object#hashCode() Object.hashCode()}. |
116 * <p> |
|
117 * |
116 * |
118 * @return the hash code value for this <code>OpenMBeanAttributeInfo</code> instance |
117 * @return the hash code value for this <code>OpenMBeanAttributeInfo</code> instance |
119 */ |
118 */ |
120 public int hashCode(); |
119 public int hashCode(); |
121 |
120 |