@Test public void testEquality() { new EqualsTester() .addEqualityGroup( TcpFlags.builder().setAck(true).setRst(true).build(), TcpFlags.builder().setAck(true).setRst(true).build()) .addEqualityGroup( TcpFlags.builder().setFin(true).setUrg(false).build(), TcpFlags.builder().setFin(true).setUrg(false).build()) .testEquals(); }
public static Builder builder() { return new Builder(); }
TcpFlags implements Serializable, Comparable<TcpFlags> { public static Builder builder() { return new Builder(); } }
TcpFlags implements Serializable, Comparable<TcpFlags> { public static Builder builder() { return new Builder(); } @JsonCreator  TcpFlags(
      @JsonProperty(PROP_ACK) boolean ack,
      @JsonProperty(PROP_CWR) boolean cwr,
      @JsonProperty(PROP_ECE) boolean ece,
      @JsonProperty(PROP_FIN) boolean fin,
      @JsonProperty(PROP_PSH) boolean psh,
      @JsonProperty(PROP_RST) boolean rst,
      @JsonProperty(PROP_SYN) boolean syn,
      @JsonProperty(PROP_URG) boolean urg); }
TcpFlags implements Serializable, Comparable<TcpFlags> { public static Builder builder() { return new Builder(); } @JsonCreator  TcpFlags(
      @JsonProperty(PROP_ACK) boolean ack,
      @JsonProperty(PROP_CWR) boolean cwr,
      @JsonProperty(PROP_ECE) boolean ece,
      @JsonProperty(PROP_FIN) boolean fin,
      @JsonProperty(PROP_PSH) boolean psh,
      @JsonProperty(PROP_RST) boolean rst,
      @JsonProperty(PROP_SYN) boolean syn,
      @JsonProperty(PROP_URG) boolean urg); @Override int compareTo(@Nonnull TcpFlags o); @Override boolean equals(Object o); @Override int hashCode(); @JsonProperty(PROP_ACK) boolean getAck(); @JsonProperty(PROP_CWR) boolean getCwr(); @JsonProperty(PROP_ECE) boolean getEce(); @JsonProperty(PROP_FIN) boolean getFin(); @JsonProperty(PROP_PSH) boolean getPsh(); @JsonProperty(PROP_RST) boolean getRst(); @JsonProperty(PROP_SYN) boolean getSyn(); @JsonProperty(PROP_URG) boolean getUrg(); static Builder builder(); @Override String toString(); }
TcpFlags implements Serializable, Comparable<TcpFlags> { public static Builder builder() { return new Builder(); } @JsonCreator  TcpFlags(
      @JsonProperty(PROP_ACK) boolean ack,
      @JsonProperty(PROP_CWR) boolean cwr,
      @JsonProperty(PROP_ECE) boolean ece,
      @JsonProperty(PROP_FIN) boolean fin,
      @JsonProperty(PROP_PSH) boolean psh,
      @JsonProperty(PROP_RST) boolean rst,
      @JsonProperty(PROP_SYN) boolean syn,
      @JsonProperty(PROP_URG) boolean urg); @Override int compareTo(@Nonnull TcpFlags o); @Override boolean equals(Object o); @Override int hashCode(); @JsonProperty(PROP_ACK) boolean getAck(); @JsonProperty(PROP_CWR) boolean getCwr(); @JsonProperty(PROP_ECE) boolean getEce(); @JsonProperty(PROP_FIN) boolean getFin(); @JsonProperty(PROP_PSH) boolean getPsh(); @JsonProperty(PROP_RST) boolean getRst(); @JsonProperty(PROP_SYN) boolean getSyn(); @JsonProperty(PROP_URG) boolean getUrg(); static Builder builder(); @Override String toString();  }