@Test public void testEquals() { Builder builder = EigrpMetricValues.builder() .setBandwidth(1) .setDelay(2) .setReliability(3) .setEffectiveBandwidth(4) .setMtu(5); EigrpMetricValues v = builder.build(); new EqualsTester() .addEqualityGroup(v, v, builder.build()) .addEqualityGroup(builder.setBandwidth(10).build()) .addEqualityGroup(builder.setDelay(20).build()) .addEqualityGroup(builder.setReliability(30).build()) .addEqualityGroup(builder.setEffectiveBandwidth(40).build()) .addEqualityGroup(builder.setMtu(50).build()) .addEqualityGroup(new Object()) .testEquals(); }
@Override public boolean equals(@Nullable Object o) { if (this == o) { return true; } if (!(o instanceof EigrpMetricValues)) { return false; } EigrpMetricValues that = (EigrpMetricValues) o; return _bandwidth == that._bandwidth && _delay == that._delay && _effectiveBandwidth == that._effectiveBandwidth && _reliability == that._reliability && _mtu == that._mtu; }
EigrpMetricValues implements Serializable { @Override public boolean equals(@Nullable Object o) { if (this == o) { return true; } if (!(o instanceof EigrpMetricValues)) { return false; } EigrpMetricValues that = (EigrpMetricValues) o; return _bandwidth == that._bandwidth && _delay == that._delay && _effectiveBandwidth == that._effectiveBandwidth && _reliability == that._reliability && _mtu == that._mtu; } }
EigrpMetricValues implements Serializable { @Override public boolean equals(@Nullable Object o) { if (this == o) { return true; } if (!(o instanceof EigrpMetricValues)) { return false; } EigrpMetricValues that = (EigrpMetricValues) o; return _bandwidth == that._bandwidth && _delay == that._delay && _effectiveBandwidth == that._effectiveBandwidth && _reliability == that._reliability && _mtu == that._mtu; } private  EigrpMetricValues(
      long bandwidth, long delay, int effectiveBandwidth, int reliability, long mtu); }
EigrpMetricValues implements Serializable { @Override public boolean equals(@Nullable Object o) { if (this == o) { return true; } if (!(o instanceof EigrpMetricValues)) { return false; } EigrpMetricValues that = (EigrpMetricValues) o; return _bandwidth == that._bandwidth && _delay == that._delay && _effectiveBandwidth == that._effectiveBandwidth && _reliability == that._reliability && _mtu == that._mtu; } private  EigrpMetricValues(
      long bandwidth, long delay, int effectiveBandwidth, int reliability, long mtu); @JsonProperty(PROP_BANDWIDTH) long getBandwidth(); @JsonProperty(PROP_DELAY) long getDelay(); @JsonProperty(PROP_EFFECTIVE_BANDWIDTH) int getEffectiveBandwidth(); @JsonProperty(PROP_RELIABILITY) int getReliability(); @JsonProperty(PROP_MTU) long getMtu(); @Override boolean equals(@Nullable Object o); @Override int hashCode(); @Override String toString(); static Builder builder(); Builder toBuilder(); }
EigrpMetricValues implements Serializable { @Override public boolean equals(@Nullable Object o) { if (this == o) { return true; } if (!(o instanceof EigrpMetricValues)) { return false; } EigrpMetricValues that = (EigrpMetricValues) o; return _bandwidth == that._bandwidth && _delay == that._delay && _effectiveBandwidth == that._effectiveBandwidth && _reliability == that._reliability && _mtu == that._mtu; } private  EigrpMetricValues(
      long bandwidth, long delay, int effectiveBandwidth, int reliability, long mtu); @JsonProperty(PROP_BANDWIDTH) long getBandwidth(); @JsonProperty(PROP_DELAY) long getDelay(); @JsonProperty(PROP_EFFECTIVE_BANDWIDTH) int getEffectiveBandwidth(); @JsonProperty(PROP_RELIABILITY) int getReliability(); @JsonProperty(PROP_MTU) long getMtu(); @Override boolean equals(@Nullable Object o); @Override int hashCode(); @Override String toString(); static Builder builder(); Builder toBuilder();  }