@Test public void testEquals() { new EqualsTester() .addEqualityGroup(payLoad1, sameAsPayLoad1) .addEqualityGroup(payLoad2) .testEquals(); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof FlowRuleExtPayLoad) { FlowRuleExtPayLoad that = (FlowRuleExtPayLoad) obj; return Arrays.equals(payLoad, that.payLoad); } return false; }
FlowRuleExtPayLoad { @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof FlowRuleExtPayLoad) { FlowRuleExtPayLoad that = (FlowRuleExtPayLoad) obj; return Arrays.equals(payLoad, that.payLoad); } return false; } }
FlowRuleExtPayLoad { @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof FlowRuleExtPayLoad) { FlowRuleExtPayLoad that = (FlowRuleExtPayLoad) obj; return Arrays.equals(payLoad, that.payLoad); } return false; } private  FlowRuleExtPayLoad(byte[] payLoad); }
FlowRuleExtPayLoad { @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof FlowRuleExtPayLoad) { FlowRuleExtPayLoad that = (FlowRuleExtPayLoad) obj; return Arrays.equals(payLoad, that.payLoad); } return false; } private  FlowRuleExtPayLoad(byte[] payLoad); static FlowRuleExtPayLoad flowRuleExtPayLoad(byte[] payLoad); byte[] payLoad(); @Override int hashCode(); int hash(); @Override boolean equals(Object obj); @Override String toString(); }
FlowRuleExtPayLoad { @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof FlowRuleExtPayLoad) { FlowRuleExtPayLoad that = (FlowRuleExtPayLoad) obj; return Arrays.equals(payLoad, that.payLoad); } return false; } private  FlowRuleExtPayLoad(byte[] payLoad); static FlowRuleExtPayLoad flowRuleExtPayLoad(byte[] payLoad); byte[] payLoad(); @Override int hashCode(); int hash(); @Override boolean equals(Object obj); @Override String toString();  }