@Test public void testEquals() { final NiciraNshMdType nshMdType1 = new NiciraNshMdType(mdType1); final NiciraNshMdType sameAsnshMdType1 = new NiciraNshMdType(mdType1); final NiciraNshMdType nshMdType2 = new NiciraNshMdType(mdType2); new EqualsTester().addEqualityGroup(nshMdType1, sameAsnshMdType1).addEqualityGroup(nshMdType2) .testEquals(); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof NiciraNshMdType) { NiciraNshMdType that = (NiciraNshMdType) obj; return Objects.equals(nshMdType, that.nshMdType); } return false; }
NiciraNshMdType extends AbstractExtension implements ExtensionTreatment { @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof NiciraNshMdType) { NiciraNshMdType that = (NiciraNshMdType) obj; return Objects.equals(nshMdType, that.nshMdType); } return false; } }
NiciraNshMdType extends AbstractExtension implements ExtensionTreatment { @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof NiciraNshMdType) { NiciraNshMdType that = (NiciraNshMdType) obj; return Objects.equals(nshMdType, that.nshMdType); } return false; } NiciraNshMdType();  NiciraNshMdType(byte nshMdType); }
NiciraNshMdType extends AbstractExtension implements ExtensionTreatment { @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof NiciraNshMdType) { NiciraNshMdType that = (NiciraNshMdType) obj; return Objects.equals(nshMdType, that.nshMdType); } return false; } NiciraNshMdType();  NiciraNshMdType(byte nshMdType); byte nshMdType(); @Override ExtensionTreatmentType type(); @Override void deserialize(byte[] data); @Override byte[] serialize(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); }
NiciraNshMdType extends AbstractExtension implements ExtensionTreatment { @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof NiciraNshMdType) { NiciraNshMdType that = (NiciraNshMdType) obj; return Objects.equals(nshMdType, that.nshMdType); } return false; } NiciraNshMdType();  NiciraNshMdType(byte nshMdType); byte nshMdType(); @Override ExtensionTreatmentType type(); @Override void deserialize(byte[] data); @Override byte[] serialize(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }