com.jayway.jsonassert.impl.matcher
Class MapTypeSafeMatcher<M extends Map<?,?>>

java.lang.Object
  extended by org.hamcrest.BaseMatcher<M>
      extended by 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
MapTypeSafeMatcher()
           
 
Method Summary
 boolean matches(Object item)
           
protected abstract  boolean matchesSafely(M map)
           
 
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch, 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 Detail

MapTypeSafeMatcher

public MapTypeSafeMatcher()
Method Detail

matches

public boolean matches(Object item)

matchesSafely

protected abstract boolean matchesSafely(M map)


Copyright © 2011-2012. All Rights Reserved.