@Test public void testEquals() throws Exception { pdu = helloPdu; assertThat(pdu.equals(new L1L2HelloPdu(new IsisHeader())), is(true)); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } HelloPdu that = (HelloPdu) o; return Objects.equal(circuitType, that.circuitType) && Objects.equal(sourceId, that.sourceId) && Objects.equal(holdingTime, that.holdingTime) && Objects.equal(pduLength, that.pduLength); }
HelloPdu extends IsisHeader { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } HelloPdu that = (HelloPdu) o; return Objects.equal(circuitType, that.circuitType) && Objects.equal(sourceId, that.sourceId) && Objects.equal(holdingTime, that.holdingTime) && Objects.equal(pduLength, that.pduLength); } }
HelloPdu extends IsisHeader { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } HelloPdu that = (HelloPdu) o; return Objects.equal(circuitType, that.circuitType) && Objects.equal(sourceId, that.sourceId) && Objects.equal(holdingTime, that.holdingTime) && Objects.equal(pduLength, that.pduLength); }  }
HelloPdu extends IsisHeader { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } HelloPdu that = (HelloPdu) o; return Objects.equal(circuitType, that.circuitType) && Objects.equal(sourceId, that.sourceId) && Objects.equal(holdingTime, that.holdingTime) && Objects.equal(pduLength, that.pduLength); }  void addTlv(IsisTlv isisTlv); List<IsisTlv> tlvs(); List<String> areaAddress(); List<Ip4Address> interfaceIpAddresses(); List<MacAddress> neighborList(); IsisInterfaceState adjacencyState(); String sourceId(); void setSourceId(String sourceId); int pduLength(); void setPduLength(int pduLength); int holdingTime(); void setHoldingTime(int holdingTime); byte circuitType(); void setCircuitType(byte circuitType); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); }
HelloPdu extends IsisHeader { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } HelloPdu that = (HelloPdu) o; return Objects.equal(circuitType, that.circuitType) && Objects.equal(sourceId, that.sourceId) && Objects.equal(holdingTime, that.holdingTime) && Objects.equal(pduLength, that.pduLength); }  void addTlv(IsisTlv isisTlv); List<IsisTlv> tlvs(); List<String> areaAddress(); List<Ip4Address> interfaceIpAddresses(); List<MacAddress> neighborList(); IsisInterfaceState adjacencyState(); String sourceId(); void setSourceId(String sourceId); int pduLength(); void setPduLength(int pduLength); int holdingTime(); void setHoldingTime(int holdingTime); byte circuitType(); void setCircuitType(byte circuitType); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }