@Test public void testEquals() throws Exception { assertThat(lsPdu.equals(new LsPdu(new IsisHeader())), is(true)); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } LsPdu that = (LsPdu) o; return Objects.equal(pduLength, that.pduLength) && Objects.equal(remainingLifeTime, that.remainingLifeTime) && Objects.equal(lspId, that.lspId) && Objects.equal(sequenceNumber, that.sequenceNumber) && Objects.equal(checkSum, that.checkSum) && Objects.equal(partitionRepair, that.partitionRepair) && Objects.equal(lspDbol, that.lspDbol) && Objects.equal(typeBlock, that.typeBlock) && Objects.equal(intermediateSystemType, that.intermediateSystemType); }
LsPdu extends IsisHeader { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } LsPdu that = (LsPdu) o; return Objects.equal(pduLength, that.pduLength) && Objects.equal(remainingLifeTime, that.remainingLifeTime) && Objects.equal(lspId, that.lspId) && Objects.equal(sequenceNumber, that.sequenceNumber) && Objects.equal(checkSum, that.checkSum) && Objects.equal(partitionRepair, that.partitionRepair) && Objects.equal(lspDbol, that.lspDbol) && Objects.equal(typeBlock, that.typeBlock) && Objects.equal(intermediateSystemType, that.intermediateSystemType); } }
LsPdu extends IsisHeader { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } LsPdu that = (LsPdu) o; return Objects.equal(pduLength, that.pduLength) && Objects.equal(remainingLifeTime, that.remainingLifeTime) && Objects.equal(lspId, that.lspId) && Objects.equal(sequenceNumber, that.sequenceNumber) && Objects.equal(checkSum, that.checkSum) && Objects.equal(partitionRepair, that.partitionRepair) && Objects.equal(lspDbol, that.lspDbol) && Objects.equal(typeBlock, that.typeBlock) && Objects.equal(intermediateSystemType, that.intermediateSystemType); } LsPdu(IsisHeader isisHeader); }
LsPdu extends IsisHeader { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } LsPdu that = (LsPdu) o; return Objects.equal(pduLength, that.pduLength) && Objects.equal(remainingLifeTime, that.remainingLifeTime) && Objects.equal(lspId, that.lspId) && Objects.equal(sequenceNumber, that.sequenceNumber) && Objects.equal(checkSum, that.checkSum) && Objects.equal(partitionRepair, that.partitionRepair) && Objects.equal(lspDbol, that.lspDbol) && Objects.equal(typeBlock, that.typeBlock) && Objects.equal(intermediateSystemType, that.intermediateSystemType); } LsPdu(IsisHeader isisHeader); List<IsisTlv> tlvs(); void addTlv(IsisTlv isisTlv); int remainingLifeTime(); void setRemainingLifeTime(int remainingLifeTime); boolean lspDbol(); void setLspDbol(boolean lspDbol); byte typeBlock(); void setTypeBlock(byte typeBlock); int sequenceNumber(); void setSequenceNumber(int sequenceNumber); int checkSum(); void setCheckSum(int checkSum); boolean partitionRepair(); void setPartitionRepair(boolean partitionRepair); AttachedToOtherAreas attachedToOtherAreas(); void setAttachedToOtherAreas(AttachedToOtherAreas attachedToOtherAreas); byte intermediateSystemType(); void setIntermediateSystemType(byte intermediateSystemType); String lspId(); void setLspId(String lspId); int pduLength(); void setPduLength(int pduLength); @Override void readFrom(ChannelBuffer channelBuffer); @Override byte[] asBytes(); byte[] l1l2IsisPduHeader(); byte[] l1l2LsPduBody(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); }
LsPdu extends IsisHeader { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } LsPdu that = (LsPdu) o; return Objects.equal(pduLength, that.pduLength) && Objects.equal(remainingLifeTime, that.remainingLifeTime) && Objects.equal(lspId, that.lspId) && Objects.equal(sequenceNumber, that.sequenceNumber) && Objects.equal(checkSum, that.checkSum) && Objects.equal(partitionRepair, that.partitionRepair) && Objects.equal(lspDbol, that.lspDbol) && Objects.equal(typeBlock, that.typeBlock) && Objects.equal(intermediateSystemType, that.intermediateSystemType); } LsPdu(IsisHeader isisHeader); List<IsisTlv> tlvs(); void addTlv(IsisTlv isisTlv); int remainingLifeTime(); void setRemainingLifeTime(int remainingLifeTime); boolean lspDbol(); void setLspDbol(boolean lspDbol); byte typeBlock(); void setTypeBlock(byte typeBlock); int sequenceNumber(); void setSequenceNumber(int sequenceNumber); int checkSum(); void setCheckSum(int checkSum); boolean partitionRepair(); void setPartitionRepair(boolean partitionRepair); AttachedToOtherAreas attachedToOtherAreas(); void setAttachedToOtherAreas(AttachedToOtherAreas attachedToOtherAreas); byte intermediateSystemType(); void setIntermediateSystemType(byte intermediateSystemType); String lspId(); void setLspId(String lspId); int pduLength(); void setPduLength(int pduLength); @Override void readFrom(ChannelBuffer channelBuffer); @Override byte[] asBytes(); byte[] l1l2IsisPduHeader(); byte[] l1l2LsPduBody(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }