jdave.containment
Class AnyContainment

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

public class AnyContainment
extends CollectionContainment

Author:
Joni Freeman

Field Summary
 
Fields inherited from class jdave.containment.CollectionContainment
elements
 
Constructor Summary
AnyContainment(java.util.Collection<?> elements)
           
AnyContainment(java.lang.Iterable<?> elements)
           
AnyContainment(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

AnyContainment

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

AnyContainment

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

AnyContainment

public AnyContainment(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.