Package org.ek9lang.compiler.search
Class MatchResults
java.lang.Object
org.ek9lang.compiler.search.MatchResults
An initial stuff for match results.
Typically, this will be used for symbol searching if we
cannot resolve a symbol of some sort.
This would normally be some type of general or fuzzy search.
-
Constructor Details
-
MatchResults
public MatchResults(int maxResults)
-
-
Method Details
-
add
Add a new match result to the set of match results. Subject to the max allowed. -
list
Provide a list of the results in priority order.- Returns:
- The list of match results in priority order.
-
iterator
An iterator of the results in order of best match.- Returns:
- The iterator.
-
size
public int size() -
toString
-