jdave.containment
Class AllContainment

java.lang.Object
  extended by jdave.containment.CollectionContainment
      extended by jdave.containment.AllContainment
All Implemented Interfaces:
IContainment

public class AllContainment
extends CollectionContainment

Author:
Joni Freeman

Field Summary
 
Fields inherited from class jdave.containment.CollectionContainment
elements
 
Constructor Summary
AllContainment(java.util.Collection<?> elements)
           
AllContainment(java.lang.Iterable<?> elements)
           
AllContainment(java.util.Iterator<?> elements)
           
 
Method Summary
 boolean nullSafeMatches(java.util.Collection<?> actual)
           
 
Methods inherited from class jdave.containment.CollectionContainment
error, matches, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AllContainment

public AllContainment(java.util.Collection<?> elements)

AllContainment

public AllContainment(java.util.Iterator<?> elements)

AllContainment

public AllContainment(java.lang.Iterable<?> elements)
Method Detail

nullSafeMatches

public boolean nullSafeMatches(java.util.Collection<?> actual)
Specified by:
nullSafeMatches in class CollectionContainment


Copyright © 2008. All Rights Reserved.