@Test public void testEquals() { CommunityExprsSet obj = new CommunityExprsSet(ImmutableSet.of()); new EqualsTester() .addEqualityGroup(new Object()) .addEqualityGroup( obj, obj, new CommunityExprsSet(ImmutableSet.of()), CommunityExprsSet.of()) .addEqualityGroup(OBJ) .testEquals(); }
@Override public boolean equals(@Nullable Object obj) { if (this == obj) { return true; } if (!(obj instanceof CommunityExprsSet)) { return false; } return _exprs.equals(((CommunityExprsSet) obj)._exprs); }
CommunityExprsSet extends CommunitySetExpr { @Override public boolean equals(@Nullable Object obj) { if (this == obj) { return true; } if (!(obj instanceof CommunityExprsSet)) { return false; } return _exprs.equals(((CommunityExprsSet) obj)._exprs); } }
CommunityExprsSet extends CommunitySetExpr { @Override public boolean equals(@Nullable Object obj) { if (this == obj) { return true; } if (!(obj instanceof CommunityExprsSet)) { return false; } return _exprs.equals(((CommunityExprsSet) obj)._exprs); } CommunityExprsSet(ImmutableSet<CommunityExpr> exprs); }
CommunityExprsSet extends CommunitySetExpr { @Override public boolean equals(@Nullable Object obj) { if (this == obj) { return true; } if (!(obj instanceof CommunityExprsSet)) { return false; } return _exprs.equals(((CommunityExprsSet) obj)._exprs); } CommunityExprsSet(ImmutableSet<CommunityExpr> exprs); static @Nonnull CommunityExprsSet of(CommunityExpr... exprs); static @Nonnull CommunityExprsSet of(Iterable<CommunityExpr> exprs); @Override T accept(CommunitySetExprVisitor<T, U> visitor, U arg); @JsonIgnore @Nonnull Set<CommunityExpr> getExprs(); @Override boolean equals(@Nullable Object obj); @Override int hashCode(); }
CommunityExprsSet extends CommunitySetExpr { @Override public boolean equals(@Nullable Object obj) { if (this == obj) { return true; } if (!(obj instanceof CommunityExprsSet)) { return false; } return _exprs.equals(((CommunityExprsSet) obj)._exprs); } CommunityExprsSet(ImmutableSet<CommunityExpr> exprs); static @Nonnull CommunityExprsSet of(CommunityExpr... exprs); static @Nonnull CommunityExprsSet of(Iterable<CommunityExpr> exprs); @Override T accept(CommunitySetExprVisitor<T, U> visitor, U arg); @JsonIgnore @Nonnull Set<CommunityExpr> getExprs(); @Override boolean equals(@Nullable Object obj); @Override int hashCode();  }