Class SolrMatchers.SubListMatcher<T>

java.lang.Object
org.hamcrest.BaseMatcher<List<? extends T>>
org.hamcrest.TypeSafeDiagnosingMatcher<List<? extends T>>
org.apache.solr.util.SolrMatchers.SubListMatcher<T>
All Implemented Interfaces:
org.hamcrest.Matcher<List<? extends T>>, org.hamcrest.SelfDescribing
Enclosing class:
SolrMatchers

public static class SolrMatchers.SubListMatcher<T> extends org.hamcrest.TypeSafeDiagnosingMatcher<List<? extends T>>
  • Constructor Summary

    Constructors
    Constructor
    Description
    SubListMatcher(int fromIndex, int toIndex, org.hamcrest.Matcher<? super List<? super T>> matchOnSubList)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    describeTo(org.hamcrest.Description description)
     
    protected boolean
    matchesSafely(List<? extends T> item, org.hamcrest.Description mismatchDescription)
     

    Methods inherited from class org.hamcrest.TypeSafeDiagnosingMatcher

    describeMismatch, matches

    Methods inherited from class org.hamcrest.BaseMatcher

    _dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • SubListMatcher

      public SubListMatcher(int fromIndex, int toIndex, org.hamcrest.Matcher<? super List<? super T>> matchOnSubList)
  • Method Details

    • describeTo

      public void describeTo(org.hamcrest.Description description)
    • matchesSafely

      protected boolean matchesSafely(List<? extends T> item, org.hamcrest.Description mismatchDescription)
      Specified by:
      matchesSafely in class org.hamcrest.TypeSafeDiagnosingMatcher<List<? extends T>>