import static com.google.common.base.Objects.equal;
+import com.google.common.base.Objects;
+
/**
* Container class for trust in the web of trust.
*
return equal(getExplicit(), trust.getExplicit()) && equal(getImplicit(), trust.getImplicit()) && equal(getDistance(), trust.getDistance());
}
+ @Override
+ public int hashCode() {
+ return Objects.hashCode(explicit, implicit, distance);
+ }
+
/** {@inheritDoc} */
@Override
public String toString() {