@Test public void testJsonSerialization() { ClassicMetric cm = ClassicMetric.builder().setValues(_values).setK1(2).setK1(2).build(); assertThat(BatfishObjectMapper.clone(cm, ClassicMetric.class), equalTo(cm)); }
public static Builder builder() { return new Builder(); }
ClassicMetric implements EigrpMetric { public static Builder builder() { return new Builder(); } }
ClassicMetric implements EigrpMetric { public static Builder builder() { return new Builder(); } private  ClassicMetric(
      EigrpMetricValues values, short k1, short k2, short k3, short k4, short k5); }
ClassicMetric implements EigrpMetric { public static Builder builder() { return new Builder(); } private  ClassicMetric(
      EigrpMetricValues values, short k1, short k2, short k3, short k4, short k5); @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(); @Override UnsignedLong cost(); @Override long ribMetric(); @Override boolean isCompatible(EigrpMetric o); @Override ClassicMetric add(EigrpMetric o); @Override boolean equals(@Nonnull Object o); @Override int hashCode(); @Override String toString(); Builder toBuilder(); static Builder builder(); }
ClassicMetric implements EigrpMetric { public static Builder builder() { return new Builder(); } private  ClassicMetric(
      EigrpMetricValues values, short k1, short k2, short k3, short k4, short k5); @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(); @Override UnsignedLong cost(); @Override long ribMetric(); @Override boolean isCompatible(EigrpMetric o); @Override ClassicMetric add(EigrpMetric o); @Override boolean equals(@Nonnull Object o); @Override int hashCode(); @Override String toString(); Builder toBuilder(); static Builder builder();  }