@Test public void testMatchCommunity() { LiteralCommunityConjunction l = new LiteralCommunityConjunction( ImmutableSet.of(StandardCommunity.of(1L), StandardCommunity.of(3L))); assertFalse(l.matchCommunity(null, StandardCommunity.of(1L))); }
@Override public boolean matchCommunity(Environment environment, Community community) { return false; }
LiteralCommunityConjunction extends CommunitySetExpr { @Override public boolean matchCommunity(Environment environment, Community community) { return false; } }
LiteralCommunityConjunction extends CommunitySetExpr { @Override public boolean matchCommunity(Environment environment, Community community) { return false; } LiteralCommunityConjunction(@Nonnull Collection<? extends Community> requiredCommunities); }
LiteralCommunityConjunction extends CommunitySetExpr { @Override public boolean matchCommunity(Environment environment, Community community) { return false; } LiteralCommunityConjunction(@Nonnull Collection<? extends Community> requiredCommunities); @Override T accept(CommunitySetExprVisitor<T> visitor); @Override void accept(VoidCommunitySetExprVisitor visitor); @Nonnull @Override Set<Community> asLiteralCommunities(@Nonnull Environment environment); @Override boolean dynamicMatchCommunity(); @Override boolean equals(Object obj); Set<Community> getRequiredCommunities(); @Override int hashCode(); @Override boolean matchCommunities(Environment environment, Set<Community> communitySetCandidate); @Override boolean matchCommunity(Environment environment, Community community); @Override boolean reducible(); @Override String toString(); }
LiteralCommunityConjunction extends CommunitySetExpr { @Override public boolean matchCommunity(Environment environment, Community community) { return false; } LiteralCommunityConjunction(@Nonnull Collection<? extends Community> requiredCommunities); @Override T accept(CommunitySetExprVisitor<T> visitor); @Override void accept(VoidCommunitySetExprVisitor visitor); @Nonnull @Override Set<Community> asLiteralCommunities(@Nonnull Environment environment); @Override boolean dynamicMatchCommunity(); @Override boolean equals(Object obj); Set<Community> getRequiredCommunities(); @Override int hashCode(); @Override boolean matchCommunities(Environment environment, Set<Community> communitySetCandidate); @Override boolean matchCommunity(Environment environment, Community community); @Override boolean reducible(); @Override String toString();  }