jdave.containment
Class AllContainment<T>

java.lang.Object
  extended by org.hamcrest.BaseMatcher<Collection<T>>
      extended by jdave.BaseMatcherContainment<T>
          extended by jdave.containment.CollectionContainment<T>
              extended by jdave.containment.AllContainment<T>
All Implemented Interfaces:
IContainment<T>, org.hamcrest.Matcher<Collection<T>>, org.hamcrest.SelfDescribing

public class AllContainment<T>
extends CollectionContainment<T>

Author:
Joni Freeman

Field Summary
 
Fields inherited from class jdave.containment.CollectionContainment
elements
 
Fields inherited from class jdave.BaseMatcherContainment
actual
 
Constructor Summary
AllContainment(Collection<T> elements)
           
AllContainment(Iterable<T> elements)
           
AllContainment(Iterator<T> elements)
           
 
Method Summary
 boolean nullSafeMatches(Collection<T> actual)
           
 
Methods inherited from class jdave.containment.CollectionContainment
error, matches, toString
 
Methods inherited from class jdave.BaseMatcherContainment
describeTo, matches
 
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.hamcrest.Matcher
_dont_implement_Matcher___instead_extend_BaseMatcher_
 

Constructor Detail

AllContainment

public AllContainment(Collection<T> elements)

AllContainment

public AllContainment(Iterator<T> elements)

AllContainment

public AllContainment(Iterable<T> elements)
Method Detail

nullSafeMatches

public boolean nullSafeMatches(Collection<T> actual)
Specified by:
nullSafeMatches in class CollectionContainment<T>


Copyright © 2010. All Rights Reserved.