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 matches(java.util.Collection<?> actual)
           
 
Methods inherited from class jdave.containment.CollectionContainment
error, 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

matches

public boolean matches(java.util.Collection<?> actual)


Copyright © 2007. All Rights Reserved.