@Test public void testEquals() throws Exception { assertThat(csnp.equals(new Csnp(new IsisHeader())), is(true)); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } Csnp that = (Csnp) o; return Objects.equal(pduLength, that.pduLength) && Objects.equal(sourceId, that.sourceId) && Objects.equal(startLspId, that.startLspId) && Objects.equal(endLspId, that.endLspId); }
Csnp extends IsisHeader { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } Csnp that = (Csnp) o; return Objects.equal(pduLength, that.pduLength) && Objects.equal(sourceId, that.sourceId) && Objects.equal(startLspId, that.startLspId) && Objects.equal(endLspId, that.endLspId); } }
Csnp extends IsisHeader { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } Csnp that = (Csnp) o; return Objects.equal(pduLength, that.pduLength) && Objects.equal(sourceId, that.sourceId) && Objects.equal(startLspId, that.startLspId) && Objects.equal(endLspId, that.endLspId); } Csnp(IsisHeader isisHeader); }
Csnp extends IsisHeader { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } Csnp that = (Csnp) o; return Objects.equal(pduLength, that.pduLength) && Objects.equal(sourceId, that.sourceId) && Objects.equal(startLspId, that.startLspId) && Objects.equal(endLspId, that.endLspId); } Csnp(IsisHeader isisHeader); List<IsisTlv> getAllTlv(); String sourceId(); void setSourceId(String sourceId); String startLspId(); void setStartLspId(String startLspId); String endLspId(); void setEndLspId(String endLspId); int pduLength(); void setPduLength(int pduLength); @Override void readFrom(ChannelBuffer channelBuffer); @Override byte[] asBytes(); byte[] isisPduHeader(); byte[] completeSequenceNumberPduBody(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); }
Csnp extends IsisHeader { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } Csnp that = (Csnp) o; return Objects.equal(pduLength, that.pduLength) && Objects.equal(sourceId, that.sourceId) && Objects.equal(startLspId, that.startLspId) && Objects.equal(endLspId, that.endLspId); } Csnp(IsisHeader isisHeader); List<IsisTlv> getAllTlv(); String sourceId(); void setSourceId(String sourceId); String startLspId(); void setStartLspId(String startLspId); String endLspId(); void setEndLspId(String endLspId); int pduLength(); void setPduLength(int pduLength); @Override void readFrom(ChannelBuffer channelBuffer); @Override byte[] asBytes(); byte[] isisPduHeader(); byte[] completeSequenceNumberPduBody(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }