MCPcopy Create free account
hub / github.com/EsperoTech/yaade / equals

Method equals

server/src/main/java/com/postman/collection/Property.java:166–176  ·  view source on GitHub ↗

@param obj @return boolean

(Object obj)

Source from the content-addressed store, hash-verified

164 * @return boolean
165 */
166 @Override
167 public boolean equals(Object obj) {
168 if(! (obj instanceof Property)) {
169 return false;
170 }
171 Property varComp = (Property)obj;
172 return (this.getKey().equals(varComp.getKey())
173 && (this.getValue() + "").equals(varComp.getValue() + "")
174 && (this.getType() + "").equals(varComp.getType() + "")
175 && (this.getDescription() + "").equals(varComp.getDescription() + ""));
176 }
177
178}

Callers 15

isSetMethod · 0.45
isStringSchemaMethod · 0.45
isIntegerSchemaMethod · 0.45
isShortSchemaMethod · 0.45
isLongSchemaMethod · 0.45
isBooleanSchemaMethod · 0.45
isNumberSchemaMethod · 0.45
isFloatSchemaMethod · 0.45
isDoubleSchemaMethod · 0.45
isDateSchemaMethod · 0.45
isDateTimeSchemaMethod · 0.45
isPasswordSchemaMethod · 0.45

Calls 4

getKeyMethod · 0.95
getValueMethod · 0.95
getTypeMethod · 0.95
getDescriptionMethod · 0.95

Tested by

no test coverage detected