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

Method equals

Ports/CLDC11/src/java/lang/Object.java:35–37  ·  view source on GitHub ↗
(java.lang.Object obj)

Source from the content-addressed store, hash-verified

33 /// 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) returns true. It is transitive: for any reference values x, y, and z, if x.equals(y) returns true and y.equals(z) returns true, then x.equals(z) should return true. It is consistent: for any reference values x and y, multiple invocations of x.equals(y) consistently return true or consistently return false, provided no information used in equals comparisons on the object is modified. For any non-null reference value x, x.equals(null) should return false.
34 /// 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).
35 public boolean equals(java.lang.Object obj){
36 return false; //TODO codavaj!!
37 }
38
39 /// Returns the runtime class of an object. That Class object is the object that is locked by static synchronized methods of the represented class.
40 public final java.lang.Class getClass(){

Callers 13

containsMethod · 0.95
indexOfSubListMethod · 0.95
lastIndexOfSubListMethod · 0.95
equalsMethod · 0.95
equalsMethod · 0.95
equalsMethod · 0.95
loadIntoMethod · 0.95
containsMethod · 0.95
indexOfSubListMethod · 0.95
lastIndexOfSubListMethod · 0.95
equalsMethod · 0.95
equalsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected