jdave.containment
Class InOrderContainment

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

public class InOrderContainment
extends CollectionContainment

Author:
Joni Freeman

Field Summary
 
Fields inherited from class jdave.containment.CollectionContainment
elements
 
Constructor Summary
InOrderContainment(java.util.Collection<?> elements)
           
InOrderContainment(java.lang.Iterable<?> elements)
           
InOrderContainment(java.util.Iterator<?> elements)
           
 
Method Summary
protected  IEqualityCheck newEqualityCheck(java.lang.Object expected)
           
 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

InOrderContainment

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

InOrderContainment

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

InOrderContainment

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

nullSafeMatches

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

newEqualityCheck

protected IEqualityCheck newEqualityCheck(java.lang.Object expected)


Copyright © 2008. All Rights Reserved.