@Test public void testAsLiteralCommunities() { Community val = StandardCommunity.of(1L); NamedCommunitySet expr = new NamedCommunitySet(COMMUNITY_LIST_NAME); assertThat(expr, asLiteralCommunities(_env, equalTo(ImmutableSet.of(val)))); }
@Nonnull @Override public Set<Community> asLiteralCommunities(@Nonnull Environment environment) { return resolve(environment).asLiteralCommunities(environment); }
NamedCommunitySet extends CommunitySetExpr { @Nonnull @Override public Set<Community> asLiteralCommunities(@Nonnull Environment environment) { return resolve(environment).asLiteralCommunities(environment); } }
NamedCommunitySet extends CommunitySetExpr { @Nonnull @Override public Set<Community> asLiteralCommunities(@Nonnull Environment environment) { return resolve(environment).asLiteralCommunities(environment); } NamedCommunitySet(@Nonnull String name); }
NamedCommunitySet extends CommunitySetExpr { @Nonnull @Override public Set<Community> asLiteralCommunities(@Nonnull Environment environment) { return resolve(environment).asLiteralCommunities(environment); } NamedCommunitySet(@Nonnull String name); @Override T accept(CommunitySetExprVisitor<T> visitor); @Override void accept(VoidCommunitySetExprVisitor visitor); @Nonnull @Override Set<Community> asLiteralCommunities(@Nonnull Environment environment); @Override final boolean dynamicMatchCommunity(); @Override boolean equals(Object obj); @JsonProperty(PROP_NAME) String getName(); @Override int hashCode(); @Override boolean matchAnyCommunity(Environment environment, Set<Community> communityCandidates); @Override boolean matchCommunities(Environment environment, Set<Community> communitySetCandidate); @Override boolean matchCommunity(Environment environment, Community community); @Override Set<Community> matchedCommunities(
      Environment environment, Set<Community> communityCandidates); @Override boolean reducible(); }
NamedCommunitySet extends CommunitySetExpr { @Nonnull @Override public Set<Community> asLiteralCommunities(@Nonnull Environment environment) { return resolve(environment).asLiteralCommunities(environment); } NamedCommunitySet(@Nonnull String name); @Override T accept(CommunitySetExprVisitor<T> visitor); @Override void accept(VoidCommunitySetExprVisitor visitor); @Nonnull @Override Set<Community> asLiteralCommunities(@Nonnull Environment environment); @Override final boolean dynamicMatchCommunity(); @Override boolean equals(Object obj); @JsonProperty(PROP_NAME) String getName(); @Override int hashCode(); @Override boolean matchAnyCommunity(Environment environment, Set<Community> communityCandidates); @Override boolean matchCommunities(Environment environment, Set<Community> communitySetCandidate); @Override boolean matchCommunity(Environment environment, Community community); @Override Set<Community> matchedCommunities(
      Environment environment, Set<Community> communityCandidates); @Override boolean reducible();  }