Package org.hamcrest.internal
Class SelfDescribingValue<T>
- java.lang.Object
-
- org.hamcrest.internal.SelfDescribingValue<T>
-
- All Implemented Interfaces:
SelfDescribing
public class SelfDescribingValue<T> extends java.lang.Object implements SelfDescribing
-
-
Constructor Summary
Constructors Constructor Description SelfDescribingValue(T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
describeTo(Description description)
Generates a description of the object.
-
-
-
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 interfaceSelfDescribing
- Parameters:
description
- The description to be built or appended to.
-
-