public class IsByteBufferContainingMatcher
extends org.hamcrest.TypeSafeMatcher<java.nio.ByteBuffer>
| Constructor and Description |
|---|
IsByteBufferContainingMatcher(byte[] expectedData) |
IsByteBufferContainingMatcher(java.nio.ByteBuffer reference) |
IsByteBufferContainingMatcher(int... intValues) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
describeMismatchSafely(java.nio.ByteBuffer buffer,
org.hamcrest.Description out) |
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matchesSafely(java.nio.ByteBuffer buffer) |
public IsByteBufferContainingMatcher(byte[] expectedData)
public IsByteBufferContainingMatcher(int... intValues)
public IsByteBufferContainingMatcher(java.nio.ByteBuffer reference)
protected boolean matchesSafely(java.nio.ByteBuffer buffer)
matchesSafely in class org.hamcrest.TypeSafeMatcher<java.nio.ByteBuffer>public void describeTo(org.hamcrest.Description description)
protected void describeMismatchSafely(java.nio.ByteBuffer buffer,
org.hamcrest.Description out)
describeMismatchSafely in class org.hamcrest.TypeSafeMatcher<java.nio.ByteBuffer>