@Test public void testEquals() { new EqualsTester() .addEqualityGroup( EXPR, EXPR, new TypesFirstAscendingSpaceSeparated(IntegerValueRendering.instance())) .addEqualityGroup(new TypesFirstAscendingSpaceSeparated(ColonSeparatedRendering.instance())) .addEqualityGroup(new Object()) .testEquals(); }
@Override public boolean equals(@Nullable Object obj) { if (this == obj) { return true; } if (!(obj instanceof TypesFirstAscendingSpaceSeparated)) { return false; } return _communityRendering.equals( ((TypesFirstAscendingSpaceSeparated) obj)._communityRendering); }
TypesFirstAscendingSpaceSeparated extends CommunitySetRendering { @Override public boolean equals(@Nullable Object obj) { if (this == obj) { return true; } if (!(obj instanceof TypesFirstAscendingSpaceSeparated)) { return false; } return _communityRendering.equals( ((TypesFirstAscendingSpaceSeparated) obj)._communityRendering); } }
TypesFirstAscendingSpaceSeparated extends CommunitySetRendering { @Override public boolean equals(@Nullable Object obj) { if (this == obj) { return true; } if (!(obj instanceof TypesFirstAscendingSpaceSeparated)) { return false; } return _communityRendering.equals( ((TypesFirstAscendingSpaceSeparated) obj)._communityRendering); } TypesFirstAscendingSpaceSeparated(CommunityRendering communityRendering); }
TypesFirstAscendingSpaceSeparated extends CommunitySetRendering { @Override public boolean equals(@Nullable Object obj) { if (this == obj) { return true; } if (!(obj instanceof TypesFirstAscendingSpaceSeparated)) { return false; } return _communityRendering.equals( ((TypesFirstAscendingSpaceSeparated) obj)._communityRendering); } TypesFirstAscendingSpaceSeparated(CommunityRendering communityRendering); @Override T accept(CommunitySetRenderingVisitor<T, U> visitor, U arg); @Override boolean equals(@Nullable Object obj); @Override int hashCode(); }
TypesFirstAscendingSpaceSeparated extends CommunitySetRendering { @Override public boolean equals(@Nullable Object obj) { if (this == obj) { return true; } if (!(obj instanceof TypesFirstAscendingSpaceSeparated)) { return false; } return _communityRendering.equals( ((TypesFirstAscendingSpaceSeparated) obj)._communityRendering); } TypesFirstAscendingSpaceSeparated(CommunityRendering communityRendering); @Override T accept(CommunitySetRenderingVisitor<T, U> visitor, U arg); @Override boolean equals(@Nullable Object obj); @Override int hashCode();  }