+ @Override
+ public boolean equals(Object object) {
+ if (!(object instanceof Trust)) {
+ return false;
+ }
+ Trust trust = (Trust) object;
+ 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() {
+ return getClass().getName() + "[explicit=" + explicit + ",implicit=" + implicit + ",distance=" + distance + "]";
+ }
+