@Test public void testEquals() { new EqualsTester().addEqualityGroup(nshCh1, sameAsNshCh1).addEqualityGroup(nshCh2).testEquals(); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof NiciraSetNshContextHeader) { NiciraSetNshContextHeader that = (NiciraSetNshContextHeader) obj; return Objects.equals(nshCh, that.nshCh) && Objects.equals(type, that.type); } return false; }
NiciraSetNshContextHeader extends AbstractExtension implements
        ExtensionTreatment { @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof NiciraSetNshContextHeader) { NiciraSetNshContextHeader that = (NiciraSetNshContextHeader) obj; return Objects.equals(nshCh, that.nshCh) && Objects.equals(type, that.type); } return false; } }
NiciraSetNshContextHeader extends AbstractExtension implements
        ExtensionTreatment { @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof NiciraSetNshContextHeader) { NiciraSetNshContextHeader that = (NiciraSetNshContextHeader) obj; return Objects.equals(nshCh, that.nshCh) && Objects.equals(type, that.type); } return false; } NiciraSetNshContextHeader(ExtensionTreatmentType type);  NiciraSetNshContextHeader(NshContextHeader nshCh, ExtensionTreatmentType type); }
NiciraSetNshContextHeader extends AbstractExtension implements
        ExtensionTreatment { @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof NiciraSetNshContextHeader) { NiciraSetNshContextHeader that = (NiciraSetNshContextHeader) obj; return Objects.equals(nshCh, that.nshCh) && Objects.equals(type, that.type); } return false; } NiciraSetNshContextHeader(ExtensionTreatmentType type);  NiciraSetNshContextHeader(NshContextHeader nshCh, ExtensionTreatmentType type); NshContextHeader nshCh(); @Override ExtensionTreatmentType type(); @Override void deserialize(byte[] data); @Override byte[] serialize(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); }
NiciraSetNshContextHeader extends AbstractExtension implements
        ExtensionTreatment { @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof NiciraSetNshContextHeader) { NiciraSetNshContextHeader that = (NiciraSetNshContextHeader) obj; return Objects.equals(nshCh, that.nshCh) && Objects.equals(type, that.type); } return false; } NiciraSetNshContextHeader(ExtensionTreatmentType type);  NiciraSetNshContextHeader(NshContextHeader nshCh, ExtensionTreatmentType type); NshContextHeader nshCh(); @Override ExtensionTreatmentType type(); @Override void deserialize(byte[] data); @Override byte[] serialize(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }