Interface SearchTerms<T>
- All Known Implementing Classes:
SearchTermsImpl
public interface SearchTerms<T>
Interface for a data structure that is wrapping a group of search terms.
-
Method Details
-
add
Adds a term to this list of terms.- Parameters:
term- the new term
-
getTerms
Collection<T> getTerms()Returns the terms.- Returns:
- the terms
-
contains
Returnstrueiftermis contained in the list of terms.- Parameters:
term- the term- Returns:
trueiftermis contained
-
size
int size()Returns the number of terms.- Returns:
- the number of terms
-
getQuantifier
SearchTerms.Quantifier getQuantifier()Returns this group's quantifier.- Returns:
- the quantifier
-