Class IsOrderedCollectionContaining<T>

java.lang.Object
org.hamcrest.BaseMatcher<List<? super T>>
org.eclipse.jetty.toolchain.test.matchers.IsOrderedCollectionContaining<T>
Type Parameters:
T - the type
All Implemented Interfaces:
org.hamcrest.Matcher<List<? super T>>, org.hamcrest.SelfDescribing

public class IsOrderedCollectionContaining<T> extends org.hamcrest.BaseMatcher<List<? super T>>
  • Field Details

  • Constructor Details

    • IsOrderedCollectionContaining

      public IsOrderedCollectionContaining(List<T> expectedList)
      Parameters:
      expectedList - the expected list
  • Method Details

    • matches

      public boolean matches(Object collection)
    • describeTo

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

      public void describeMismatch(Object item, org.hamcrest.Description description)
      Specified by:
      describeMismatch in interface org.hamcrest.Matcher<T>
      Overrides:
      describeMismatch in class org.hamcrest.BaseMatcher<List<? super T>>