Class MapTypeSafeMatcher<M extends Map<?,?>>

java.lang.Object
org.hamcrest.BaseMatcher<M>
com.jayway.jsonassert.impl.matcher.MapTypeSafeMatcher<M>
All Implemented Interfaces:
org.hamcrest.Matcher<M>, org.hamcrest.SelfDescribing
Direct Known Subclasses:
IsMapContainingKey, IsMapContainingValue

public abstract class MapTypeSafeMatcher<M extends Map<?,?>> extends org.hamcrest.BaseMatcher<M>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    protected abstract boolean
     

    Methods inherited from class org.hamcrest.BaseMatcher

    _dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch, isNotNull, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.hamcrest.SelfDescribing

    describeTo
  • Constructor Details

    • MapTypeSafeMatcher

      public MapTypeSafeMatcher()
  • Method Details

    • matches

      public boolean matches(Object item)
    • matchesSafely

      protected abstract boolean matchesSafely(M map)