MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / equals

Method equals

vm/JavaAPI/src/java/lang/Object.java:38–40  ·  view source on GitHub ↗

Indicates whether some other object is "equal to" this one. The equals method implements an equivalence relation: It is reflexive: for any reference value x, x.equals(x) should return true. It is symmetric: for any reference values x and y, x.equals(y) should return true if and only if y.equals(x) r

(java.lang.Object obj)

Source from the content-addressed store, hash-verified

36 * The equals method for class Object implements the most discriminating possible equivalence relation on objects; that is, for any reference values x and y, this method returns true if and only if x and y refer to the same object (x==y has the value true).
37 */
38 public boolean equals(java.lang.Object obj) {
39 return obj == this;
40 }
41
42 /**
43 * Returns the runtime class of an object. That Class object is the object that is locked by static synchronized methods of the represented class.

Callers 15

equalsMethod · 0.95
placeInStorageCacheMethod · 0.95
equalsMethod · 0.95
equalsMethod · 0.95
setValueMethod · 0.95
collapsePathNodeMethod · 0.95
getValueAtMethod · 0.95
runMethod · 0.95
findImageUseImplMethod · 0.95
setValueMethod · 0.95
primitiveEqualsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected