469:8dc9d7ccbb2d | 473:5845df371e25 |
---|---|
30 * | 30 * |
31 */ | 31 */ |
32 | 32 |
33 package sun.rmi.rmic.iiop; | 33 package sun.rmi.rmic.iiop; |
34 | 34 |
35 import java.util.Arrays; | |
35 import java.util.Vector; | 36 import java.util.Vector; |
36 import sun.tools.java.Identifier; | 37 import sun.tools.java.Identifier; |
37 import sun.tools.java.ClassNotFound; | 38 import sun.tools.java.ClassNotFound; |
38 import sun.tools.java.ClassDefinition; | 39 import sun.tools.java.ClassDefinition; |
39 import sun.tools.java.ClassDeclaration; | 40 import sun.tools.java.ClassDeclaration; |
1849 return true; | 1850 return true; |
1850 } | 1851 } |
1851 return false; | 1852 return false; |
1852 } | 1853 } |
1853 | 1854 |
1855 public int hashCode() { | |
1856 return getName().hashCode() ^ Arrays.hashCode(arguments); | |
1857 } | |
1858 | |
1854 /** | 1859 /** |
1855 * Return a new Method object that is a legal combination of | 1860 * Return a new Method object that is a legal combination of |
1856 * this method object and another one. | 1861 * this method object and another one. |
1857 * | 1862 * |
1858 * This requires determining the exceptions declared by the | 1863 * This requires determining the exceptions declared by the |