jdave
Class BaseMatcherContainment<T>

java.lang.Object
  extended by org.hamcrest.BaseMatcher<java.util.Collection<T>>
      extended by jdave.BaseMatcherContainment<T>
All Implemented Interfaces:
IContainment<T>, org.hamcrest.Matcher<java.util.Collection<T>>, org.hamcrest.SelfDescribing
Direct Known Subclasses:
CollectionContainment, NotContainment, ObjectContainment

public abstract class BaseMatcherContainment<T>
extends org.hamcrest.BaseMatcher<java.util.Collection<T>>
implements IContainment<T>

Author:
Tuomas Karkkainen

Field Summary
protected  java.util.Collection<T> actual
           
 
Constructor Summary
BaseMatcherContainment()
           
 
Method Summary
 void describeTo(org.hamcrest.Description description)
           
 boolean matches(java.lang.Object item)
           
 
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface jdave.IContainment
error, matches
 
Methods inherited from interface org.hamcrest.Matcher
_dont_implement_Matcher___instead_extend_BaseMatcher_
 

Field Detail

actual

protected java.util.Collection<T> actual
Constructor Detail

BaseMatcherContainment

public BaseMatcherContainment()
Method Detail

matches

public final boolean matches(java.lang.Object item)
Specified by:
matches in interface org.hamcrest.Matcher<java.util.Collection<T>>

describeTo

public final void describeTo(org.hamcrest.Description description)
Specified by:
describeTo in interface org.hamcrest.SelfDescribing


Copyright © 2010. All Rights Reserved.