MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / equals

Method equals

java/src/org/openqa/selenium/docker/Device.java:57–69  ·  view source on GitHub ↗
(Object o)

Source from the content-addressed store, hash-verified

55 }
56
57 @Override
58 public boolean equals(Object o) {
59 if (this == o) {
60 return true;
61 }
62 if (o == null || getClass() != o.getClass()) {
63 return false;
64 }
65 Device device = (Device) o;
66 return Objects.equals(pathOnHost, device.pathOnHost)
67 && Objects.equals(pathInContainer, device.pathInContainer)
68 && Objects.equals(cgroupPermissions, device.cgroupPermissions);
69 }
70
71 @Override
72 public int hashCode() {

Callers 9

mapMethod · 0.45
mapMethod · 0.45
getFieldNameMethod · 0.45
getTypeTokenMethod · 0.45
toTypeDeclarationMethod · 0.45
getMapperMethod · 0.45
handleMethod · 0.45
findTargetMethod · 0.45

Calls 1

getClassMethod · 0.65

Tested by

no test coverage detected