@Test public void testMatches() { LiteralCommunityHalf l = new LiteralCommunityHalf(1); assertThat(l, matches(1)); assertThat(l, not(matches(2))); }
@Override public boolean matches(int communityHalf) { return communityHalf == _value; }
LiteralCommunityHalf implements CommunityHalfExpr { @Override public boolean matches(int communityHalf) { return communityHalf == _value; } }
LiteralCommunityHalf implements CommunityHalfExpr { @Override public boolean matches(int communityHalf) { return communityHalf == _value; } LiteralCommunityHalf(int value); }
LiteralCommunityHalf implements CommunityHalfExpr { @Override public boolean matches(int communityHalf) { return communityHalf == _value; } LiteralCommunityHalf(int value); @Override boolean equals(@Nullable Object obj); @Override int hashCode(); @Override boolean dynamicMatchCommunity(); @JsonProperty(PROP_VALUE) int getValue(); @Override boolean matches(int communityHalf); }
LiteralCommunityHalf implements CommunityHalfExpr { @Override public boolean matches(int communityHalf) { return communityHalf == _value; } LiteralCommunityHalf(int value); @Override boolean equals(@Nullable Object obj); @Override int hashCode(); @Override boolean dynamicMatchCommunity(); @JsonProperty(PROP_VALUE) int getValue(); @Override boolean matches(int communityHalf);  }