@Test public void testEquals() { Builder builder = WideMetric.builder().setValues(_values); WideMetric cm = builder.build(); new EqualsTester() .addEqualityGroup(cm, cm, builder.build()) .addEqualityGroup(builder.setK1(11).build()) .addEqualityGroup(builder.setK3(11).build()) .addEqualityGroup(new Object()) .testEquals(); }
@Override public boolean equals(@Nullable Object o) { if (this == o) { return true; } if (!(o instanceof WideMetric)) { return false; } WideMetric that = (WideMetric) o; return _k1 == that._k1 && _k2 == that._k2 && _k3 == that._k3 && _k4 == that._k4 && _k5 == that._k5 && _k6 == that._k6 && _ribScale == that._ribScale && _values.equals(that._values); }
WideMetric implements EigrpMetric { @Override public boolean equals(@Nullable Object o) { if (this == o) { return true; } if (!(o instanceof WideMetric)) { return false; } WideMetric that = (WideMetric) o; return _k1 == that._k1 && _k2 == that._k2 && _k3 == that._k3 && _k4 == that._k4 && _k5 == that._k5 && _k6 == that._k6 && _ribScale == that._ribScale && _values.equals(that._values); } }
WideMetric implements EigrpMetric { @Override public boolean equals(@Nullable Object o) { if (this == o) { return true; } if (!(o instanceof WideMetric)) { return false; } WideMetric that = (WideMetric) o; return _k1 == that._k1 && _k2 == that._k2 && _k3 == that._k3 && _k4 == that._k4 && _k5 == that._k5 && _k6 == that._k6 && _ribScale == that._ribScale && _values.equals(that._values); } private  WideMetric(
      EigrpMetricValues values,
      short k1,
      short k2,
      short k3,
      short k4,
      short k5,
      short k6,
      long ribScale); }
WideMetric implements EigrpMetric { @Override public boolean equals(@Nullable Object o) { if (this == o) { return true; } if (!(o instanceof WideMetric)) { return false; } WideMetric that = (WideMetric) o; return _k1 == that._k1 && _k2 == that._k2 && _k3 == that._k3 && _k4 == that._k4 && _k5 == that._k5 && _k6 == that._k6 && _ribScale == that._ribScale && _values.equals(that._values); } private  WideMetric(
      EigrpMetricValues values,
      short k1,
      short k2,
      short k3,
      short k4,
      short k5,
      short k6,
      long ribScale); @Override @Nonnull @JsonProperty(PROP_VALUES) EigrpMetricValues getValues(); @JsonProperty(PROP_K1) short getK1(); @JsonProperty(PROP_K2) short getK2(); @JsonProperty(PROP_K3) short getK3(); @JsonProperty(PROP_K4) short getK4(); @JsonProperty(PROP_K5) short getK5(); @JsonProperty(PROP_K6) short getK6(); @JsonProperty(PROP_RIB_SCALE) long getRibScale(); @Override UnsignedLong cost(); @Override long ribMetric(); @Override boolean isCompatible(EigrpMetric o); @Override WideMetric add(EigrpMetric o); @Override boolean equals(@Nullable Object o); @Override int hashCode(); @Override String toString(); Builder toBuilder(); static Builder builder(); }
WideMetric implements EigrpMetric { @Override public boolean equals(@Nullable Object o) { if (this == o) { return true; } if (!(o instanceof WideMetric)) { return false; } WideMetric that = (WideMetric) o; return _k1 == that._k1 && _k2 == that._k2 && _k3 == that._k3 && _k4 == that._k4 && _k5 == that._k5 && _k6 == that._k6 && _ribScale == that._ribScale && _values.equals(that._values); } private  WideMetric(
      EigrpMetricValues values,
      short k1,
      short k2,
      short k3,
      short k4,
      short k5,
      short k6,
      long ribScale); @Override @Nonnull @JsonProperty(PROP_VALUES) EigrpMetricValues getValues(); @JsonProperty(PROP_K1) short getK1(); @JsonProperty(PROP_K2) short getK2(); @JsonProperty(PROP_K3) short getK3(); @JsonProperty(PROP_K4) short getK4(); @JsonProperty(PROP_K5) short getK5(); @JsonProperty(PROP_K6) short getK6(); @JsonProperty(PROP_RIB_SCALE) long getRibScale(); @Override UnsignedLong cost(); @Override long ribMetric(); @Override boolean isCompatible(EigrpMetric o); @Override WideMetric add(EigrpMetric o); @Override boolean equals(@Nullable Object o); @Override int hashCode(); @Override String toString(); Builder toBuilder(); static Builder builder();  }