@Test public void testAsLiteralCommunities() { StandardCommunity val = StandardCommunity.of(1L); LiteralCommunity l = new LiteralCommunity(val); assertThat(l, asLiteralCommunities(null, equalTo(ImmutableSet.of(val)))); }
@Nonnull @Override public Set<Community> asLiteralCommunities(Environment environment) { return ImmutableSet.of(_community); }
LiteralCommunity extends CommunitySetExpr { @Nonnull @Override public Set<Community> asLiteralCommunities(Environment environment) { return ImmutableSet.of(_community); } }
LiteralCommunity extends CommunitySetExpr { @Nonnull @Override public Set<Community> asLiteralCommunities(Environment environment) { return ImmutableSet.of(_community); } LiteralCommunity(Community community); }
LiteralCommunity extends CommunitySetExpr { @Nonnull @Override public Set<Community> asLiteralCommunities(Environment environment) { return ImmutableSet.of(_community); } LiteralCommunity(Community community); @Override T accept(CommunitySetExprVisitor<T> visitor); @Override void accept(VoidCommunitySetExprVisitor visitor); @Nonnull @Override Set<Community> asLiteralCommunities(Environment environment); @Override boolean dynamicMatchCommunity(); @Override boolean equals(Object obj); @JsonProperty(PROP_COMMUNITY) Community getCommunity(); @Override int hashCode(); @Override boolean matchCommunities(Environment environment, Set<Community> communitySetCandidate); @Override boolean matchCommunity(Environment environment, Community community); @Override boolean reducible(); @Override String toString(); }
LiteralCommunity extends CommunitySetExpr { @Nonnull @Override public Set<Community> asLiteralCommunities(Environment environment) { return ImmutableSet.of(_community); } LiteralCommunity(Community community); @Override T accept(CommunitySetExprVisitor<T> visitor); @Override void accept(VoidCommunitySetExprVisitor visitor); @Nonnull @Override Set<Community> asLiteralCommunities(Environment environment); @Override boolean dynamicMatchCommunity(); @Override boolean equals(Object obj); @JsonProperty(PROP_COMMUNITY) Community getCommunity(); @Override int hashCode(); @Override boolean matchCommunities(Environment environment, Set<Community> communitySetCandidate); @Override boolean matchCommunity(Environment environment, Community community); @Override boolean reducible(); @Override String toString();  }