jdave.containment
Class ObjectContainment

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

public class ObjectContainment
extends java.lang.Object
implements IContainment

Author:
Joni Freeman

Constructor Summary
ObjectContainment(java.lang.Object object)
           
 
Method Summary
 java.lang.String error(java.util.Collection<?> actual)
           
 boolean matches(java.util.Collection<?> actual)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectContainment

public ObjectContainment(java.lang.Object object)
Method Detail

matches

public boolean matches(java.util.Collection<?> actual)
Specified by:
matches in interface IContainment

error

public java.lang.String error(java.util.Collection<?> actual)
Specified by:
error in interface IContainment

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2008. All Rights Reserved.