private void encodeRecord0(DnsRecord record, ByteBuf out) throws Exception { encodeName(record.name(), out); out.writeShort(record.type().intValue()); out.writeShort(record.dnsClass()); out.writeInt((int) record.timeToLive()); }
private void encodeRecord0(DnsRecord record, ByteBuf out) throws Exception { encodeName(record.name(), out); out.writeShort(record.type().intValue()); out.writeShort(record.dnsClass()); out.writeInt((int) record.timeToLive()); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof DnsRecord)) { return false; } final DnsRecord that = (DnsRecord) obj; final int hashCode = this.hashCode; if (hashCode != 0 && hashCode != that.hashCode()) { return false; } return type().intValue() == that.type().intValue() && dnsClass() == that.dnsClass() && name().equals(that.name()); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof DnsRecord)) { return false; } final DnsRecord that = (DnsRecord) obj; final int hashCode = this.hashCode; if (hashCode != 0 && hashCode != that.hashCode()) { return false; } return type().intValue() == that.type().intValue() && dnsClass() == that.dnsClass() && name().equals(that.name()); }
private void encodeRecord0(DnsRecord record, ByteBuf out) throws Exception { encodeName(record.name(), out); out.writeShort(record.type().intValue()); out.writeShort(record.dnsClass()); out.writeInt((int) record.timeToLive()); }
private void encodeRecord0(DnsRecord record, ByteBuf out) throws Exception { encodeName(record.name(), out); out.writeShort(record.type().intValue()); out.writeShort(record.dnsClass()); out.writeInt((int) record.timeToLive()); }
private void encodeRecord0(DnsRecord record, ByteBuf out) throws Exception { encodeName(record.name(), out); out.writeShort(record.type().intValue()); out.writeShort(record.dnsClass()); out.writeInt((int) record.timeToLive()); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof DnsRecord)) { return false; } final DnsRecord that = (DnsRecord) obj; final int hashCode = this.hashCode; if (hashCode != 0 && hashCode != that.hashCode()) { return false; } return type().intValue() == that.type().intValue() && dnsClass() == that.dnsClass() && name().equals(that.name()); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof DnsRecord)) { return false; } final DnsRecord that = (DnsRecord) obj; final int hashCode = this.hashCode; if (hashCode != 0 && hashCode != that.hashCode()) { return false; } return type().intValue() == that.type().intValue() && dnsClass() == that.dnsClass() && name().equals(that.name()); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof DnsRecord)) { return false; } final DnsRecord that = (DnsRecord) obj; final int hashCode = this.hashCode; if (hashCode != 0 && hashCode != that.hashCode()) { return false; } return type().intValue() == that.type().intValue() && dnsClass() == that.dnsClass() && name().equals(that.name()); }