Method hashCode()
Return type: int
Member of:
java.lang.Object
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
return new Integer(hashCode());
2
Integer.toHexString(proxy.hashCode());
3
return "" + Thread.currentThread().hashCode();
4
return Integer.toHexString(hashCode());
5
private String hexHashCode = Integer.toHexString(hashCode()).toUpperCase()+StartupTime;
6
private String displayName = getClass().getName() + ";hashCode=" + hashCode();
7
System.out.println("URL " + getURL().toString() + "^" + Integer.toHexString(Thread.currentThread().hashCode()) + " " + s); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
8
return obj != null ? hashCode() == obj.hashCode() : false;
9
return proxy.getClass().getName() + '@' + Integer.toHexString(proxy.hashCode());
10
t = new Thread(this,"Reflective Dispatch#" + hashCode());
11
log.debug("@" + Integer.toHexString(hashCode()) + "setReturnType(" + returnType +")");
12
assertEquals(7 + ColorEnum.class.hashCode() + 3 * "Red".hashCode(), ColorEnum.RED.hashCode());
13
new StringBuffer(String.valueOf(bean.hashCode()));
14
return o.getClass().getName() + '@' + o.hashCode();
15
removeElementFromRegistry(Integer.toString(element.hashCode()));
16
hashCode += o.hashCode();
17
return "j" + node.hashCode();
18
le[i].key = (int)rtcs[i].getTrigger().hashCode();
19
buffer.append(Integer.toHexString(hashCode()));
20
return Integer.toString(tmp.hashCode());
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.