MCPcopy Create free account
hub / github.com/alanross/AlvaAR / equals

Method equals

src/libs/opencv/modules/core/misc/java/src/java/core+Rect.java:92–98  ·  view source on GitHub ↗
(Object obj)

Source from the content-addressed store, hash-verified

90 }
91
92 @Override
93 public boolean equals(Object obj) {
94 if (this == obj) return true;
95 if (!(obj instanceof Rect)) return false;
96 Rect it = (Rect) obj;
97 return x == it.x && y == it.y && width == it.width && height == it.height;
98 }
99
100 @Override
101 public String toString() {

Callers 15

testEqualsObjectMethod · 0.45
testEqualsObjectMethod · 0.45
testEqualsObjectMethod · 0.45
testCloneMethod · 0.45
testGetIntInt_8UMethod · 0.45
testGetIntInt_32SMethod · 0.45
testGetIntInt_64FMethod · 0.45
testGetIntIntIntArrayMethod · 0.45

Calls

no outgoing calls

Tested by 15

testEqualsObjectMethod · 0.36
testEqualsObjectMethod · 0.36
testEqualsObjectMethod · 0.36
testCloneMethod · 0.36
testGetIntInt_8UMethod · 0.36
testGetIntInt_32SMethod · 0.36
testGetIntInt_64FMethod · 0.36
testGetIntIntIntArrayMethod · 0.36