org.hamcrest.internal
Class SelfDescribingValue<T>

java.lang.Object
  extended by org.hamcrest.internal.SelfDescribingValue<T>
All Implemented Interfaces:
SelfDescribing

public class SelfDescribingValue<T>
extends java.lang.Object
implements SelfDescribing


Constructor Summary
SelfDescribingValue(T value)
           
 
Method Summary
 void describeTo(Description description)
          Generates a description of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelfDescribingValue

public SelfDescribingValue(T value)
Method Detail

describeTo

public void describeTo(Description description)
Description copied from interface: SelfDescribing
Generates a description of the object. The description may be part of a a description of a larger object of which this is just a component, so it should be worded appropriately.

Specified by:
describeTo in interface SelfDescribing
Parameters:
description - The description to be built or appended to.