@Test public void testEquals() { new EqualsTester().addEqualityGroup(nshSpi1, sameAsNshSpi1).addEqualityGroup(nshSpi2).testEquals(); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof NiciraSetNshSpi) { NiciraSetNshSpi that = (NiciraSetNshSpi) obj; return Objects.equals(nshSpi, that.nshSpi); } return false; }
NiciraSetNshSpi extends AbstractExtension implements
        ExtensionTreatment { @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof NiciraSetNshSpi) { NiciraSetNshSpi that = (NiciraSetNshSpi) obj; return Objects.equals(nshSpi, that.nshSpi); } return false; } }
NiciraSetNshSpi extends AbstractExtension implements
        ExtensionTreatment { @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof NiciraSetNshSpi) { NiciraSetNshSpi that = (NiciraSetNshSpi) obj; return Objects.equals(nshSpi, that.nshSpi); } return false; } NiciraSetNshSpi();  NiciraSetNshSpi(NshServicePathId nshSpi); }
NiciraSetNshSpi extends AbstractExtension implements
        ExtensionTreatment { @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof NiciraSetNshSpi) { NiciraSetNshSpi that = (NiciraSetNshSpi) obj; return Objects.equals(nshSpi, that.nshSpi); } return false; } NiciraSetNshSpi();  NiciraSetNshSpi(NshServicePathId nshSpi); NshServicePathId nshSpi(); @Override ExtensionTreatmentType type(); @Override void deserialize(byte[] data); @Override byte[] serialize(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); }
NiciraSetNshSpi extends AbstractExtension implements
        ExtensionTreatment { @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof NiciraSetNshSpi) { NiciraSetNshSpi that = (NiciraSetNshSpi) obj; return Objects.equals(nshSpi, that.nshSpi); } return false; } NiciraSetNshSpi();  NiciraSetNshSpi(NshServicePathId nshSpi); NshServicePathId nshSpi(); @Override ExtensionTreatmentType type(); @Override void deserialize(byte[] data); @Override byte[] serialize(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }