org.hamcrest.internal.SelfDescribingValue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hamcrest-core Show documentation
Show all versions of hamcrest-core Show documentation
This is the core API of hamcrest matcher framework to be used by third-party framework providers. This includes the a foundation set of matcher implementations for common operations.
package org.hamcrest.internal;
import org.hamcrest.Description;
import org.hamcrest.SelfDescribing;
public class SelfDescribingValue implements SelfDescribing {
private T value;
public SelfDescribingValue(T value) {
this.value = value;
}
public void describeTo(Description description) {
description.appendValue(value);
}
}