Package org.apache.lucene.tests.search
Class AssertingMatches
- java.lang.Object
-
- org.apache.lucene.tests.search.AssertingMatches
-
-
Constructor Summary
Constructors Constructor Description AssertingMatches(Matches matches)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MatchesIteratorgetMatches(String field)Collection<Matches>getSubMatches()Iterator<String>iterator()static MatchesunWrap(Matches m)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
AssertingMatches
public AssertingMatches(Matches matches)
-
-
Method Detail
-
getMatches
public MatchesIterator getMatches(String field) throws IOException
- Specified by:
getMatchesin interfaceMatches- Throws:
IOException
-
getSubMatches
public Collection<Matches> getSubMatches()
- Specified by:
getSubMatchesin interfaceMatches
-
-