Computes a hashcode based on the value
()
| 810 | * Computes a hashcode based on the value |
| 811 | */ |
| 812 | public int |
| 813 | hashCode() { |
| 814 | if (hashcode != 0) |
| 815 | return (hashcode); |
| 816 | int code = 0; |
| 817 | for (int i = offset(0); i < name.length; i++) |
| 818 | code += ((code << 3) + lowercase[(name[i] & 0xFF)]); |
| 819 | hashcode = code; |
| 820 | return hashcode; |
| 821 | } |
| 822 | |
| 823 | /** |
| 824 | * Compares this Name to another Object. |