Class IterablesTimesMatcher<T>

  • All Implemented Interfaces:
    org.hamcrest.Matcher<Iterable<? super T>>, org.hamcrest.SelfDescribing

    public class IterablesTimesMatcher<T>
    extends org.hamcrest.TypeSafeMatcher<Iterable<? super T>>
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void describeTo​(org.hamcrest.Description description)  
      static <T> org.hamcrest.Matcher<Iterable<? super T>> exactlyOnce​(org.hamcrest.Matcher<? super T> itemMatcher)  
      protected boolean matchesSafely​(Iterable<? super T> iterable)  
      static <T> org.hamcrest.Matcher<Iterable<? super T>> none​(org.hamcrest.Matcher<? super T> itemMatcher)  
      static <T> org.hamcrest.Matcher<Iterable<? super T>> times​(int times, org.hamcrest.Matcher<? super T> itemMatcher)  
      static <T> org.hamcrest.Matcher<Iterable<? super T>> twice​(org.hamcrest.Matcher<? super T> itemMatcher)  
      • Methods inherited from class org.hamcrest.TypeSafeMatcher

        describeMismatch, describeMismatchSafely, matches
      • Methods inherited from class org.hamcrest.BaseMatcher

        _dont_implement_Matcher___instead_extend_BaseMatcher_, toString
    • Method Detail

      • matchesSafely

        protected boolean matchesSafely​(Iterable<? super T> iterable)
        Specified by:
        matchesSafely in class org.hamcrest.TypeSafeMatcher<Iterable<? super T>>
      • describeTo

        public void describeTo​(org.hamcrest.Description description)
      • none

        public static <T> org.hamcrest.Matcher<Iterable<? super T>> none​(org.hamcrest.Matcher<? super T> itemMatcher)
      • exactlyOnce

        public static <T> org.hamcrest.Matcher<Iterable<? super T>> exactlyOnce​(org.hamcrest.Matcher<? super T> itemMatcher)
      • twice

        public static <T> org.hamcrest.Matcher<Iterable<? super T>> twice​(org.hamcrest.Matcher<? super T> itemMatcher)
      • times

        public static <T> org.hamcrest.Matcher<Iterable<? super T>> times​(int times,
                                                                          org.hamcrest.Matcher<? super T> itemMatcher)