MCPcopy Index your code
hub / github.com/castello/spring_basic / equals

Method equals

ch4/User.java:26–32  ·  view source on GitHub ↗
(Object o)

Source from the content-addressed store, hash-verified

24 }
25
26 @Override
27 public boolean equals(Object o) {
28 if (this == o) return true;
29 if (o == null || getClass() != o.getClass()) return false;
30 User user = (User) o;
31 return id.equals(user.id) && Objects.equals(pwd, user.pwd) && Objects.equals(name, user.name) && Objects.equals(email, user.email) && Objects.equals(birth, user.birth) && Objects.equals(sns, user.sns);
32 }
33
34 @Override
35 public int hashCode() {

Callers 9

insertUserMethod · 0.95
deleteUserMethod · 0.95
selectUserMethod · 0.95
updateUserMethod · 0.95
selectMethod · 0.45
updateMethod · 0.45
loginMethod · 0.45
loginCheckMethod · 0.45
selectPageTestMethod · 0.45

Calls

no outgoing calls

Tested by 7

insertUserMethod · 0.76
deleteUserMethod · 0.76
selectUserMethod · 0.76
updateUserMethod · 0.76
selectMethod · 0.36
updateMethod · 0.36
selectPageTestMethod · 0.36