@Test public void testMayInclude$include$everything() throws Exception { assertThat(INCLUDE_EVERYTHING.mayInclude(Preference.MEMBERSHIP_TRIPLES),equalTo(true)); assertThat(INCLUDE_EVERYTHING.mayInclude(Preference.CONTAINMENT_TRIPLES),equalTo(true)); assertThat(INCLUDE_EVERYTHING.mayInclude(Preference.MINIMAL_CONTAINER),equalTo(true)); assertThat(INCLUDE_EVERYTHING.mayInclude(Preference.EMPTY_CONTAINER),equalTo(true)); }
public boolean mayInclude(Preference preference) { Preference tmp = normalize(preference); return this.include.contains(tmp) || (!isOmissiontRequired(tmp) && !isMinimalInclusionRequired()); }
ContentPreferences { public boolean mayInclude(Preference preference) { Preference tmp = normalize(preference); return this.include.contains(tmp) || (!isOmissiontRequired(tmp) && !isMinimalInclusionRequired()); } }
ContentPreferences { public boolean mayInclude(Preference preference) { Preference tmp = normalize(preference); return this.include.contains(tmp) || (!isOmissiontRequired(tmp) && !isMinimalInclusionRequired()); } private  ContentPreferences(); }
ContentPreferences { public boolean mayInclude(Preference preference) { Preference tmp = normalize(preference); return this.include.contains(tmp) || (!isOmissiontRequired(tmp) && !isMinimalInclusionRequired()); } private  ContentPreferences(); Set<Preference> includes(); Set<Preference> omits(); int size(); boolean isEmpty(); void include(Preference preference); void omit(Preference preference); boolean isMinimalInclusionRequired(); boolean mayInclude(Preference preference); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); static ContentPreferences defaultPreferences(); static ContentPreferencesBuilder builder(); }
ContentPreferences { public boolean mayInclude(Preference preference) { Preference tmp = normalize(preference); return this.include.contains(tmp) || (!isOmissiontRequired(tmp) && !isMinimalInclusionRequired()); } private  ContentPreferences(); Set<Preference> includes(); Set<Preference> omits(); int size(); boolean isEmpty(); void include(Preference preference); void omit(Preference preference); boolean isMinimalInclusionRequired(); boolean mayInclude(Preference preference); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); static ContentPreferences defaultPreferences(); static ContentPreferencesBuilder builder();  }