# CursorMatchers

Summary:[Nested Classes](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#nestedclasses)\|[Methods](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#pubmethods)\|[Inherited Methods](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#inhmethods)\|[\[Expand All\]](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#)  

# CursorMatchers

| This package is part of the Android[support library](https://developer.android.com/topic/libraries/support-library)which is no longer maintained. The support library has been superseded by[AndroidX](https://developer.android.com/jetpack/androidx)which is part of[Jetpack](https://developer.android.com/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider[migrating](https://developer.android.com/jetpack/androidx/migrate)existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library[class mappings](https://developer.android.com/jetpack/androidx/migrate/class-mappings).

`
public

final

class
CursorMatchers
`  
`

extends `[Object](https://developer.android.com/reference/java/lang/Object.html)`


``


`

|---|------------------------------------------------------|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) ||
| ↳ | android.support.test.espresso.matcher.CursorMatchers |

<br />

*** ** * ** ***

A collection of Hamcrest matchers that matches a data row in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html).  

[AdapterView](https://developer.android.com/reference/android/widget/AdapterView.html)s that are backed by a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)are very common. This class contains[`Matcher
`](http://hamcrest.org/JavaHamcrest/javadoc/1.3/org/hamcrest/Matcher.html)s that can be used together with[onData(Matcher)](https://developer.android.com/reference/android/support/test/espresso/Espresso#onData(org.hamcrest.Matcher<? extends java.lang.Object>))to match a data row in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html). The[`
Matcher`](http://hamcrest.org/JavaHamcrest/javadoc/1.3/org/hamcrest/Matcher.html)s can only operate on a single data row of the cursor and Espresso internally moves the[Cursor](https://developer.android.com/reference/android/database/Cursor.html)to the correct adapter position.

## Summary

|                                                                                                                                                                     ### Nested classes                                                                                                                                                                     ||
|----------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` class` | [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) A[Matcher](https://developer.android.com/reference/org/hamcrest/Matcher)that matches[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s based on values in their columns. |

|                                                                                                                                                                                                                                                                                                                                                                                                ### Public methods                                                                                                                                                                                                                                                                                                                                                                                                 ||
|------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowBlob](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowBlob(int, org.hamcrest.Matcher<byte[]>))`(int columnIndex, Matcher<byte[]> valueMatcher) ` Returns a matcher that matches a byte\[\] at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.                                                                                                                                                                                                                                                                             |
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowBlob](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowBlob(org.hamcrest.Matcher<java.lang.String>, org.hamcrest.Matcher<byte[]>))`(Matcher<`[String](https://developer.android.com/reference/java/lang/String.html)`> columnPicker, Matcher<byte[]> valueMatcher) ` Returns a matcher that matches a byte\[\] at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.                                                                                                                                                          |
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowBlob](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowBlob(java.lang.String, org.hamcrest.Matcher<byte[]>))`(`[String](https://developer.android.com/reference/java/lang/String.html)` columnName, Matcher<byte[]> valueMatcher) ` Returns a matcher that matches a byte\[\] at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.                                                                                                                                                                                           |
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowBlob](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowBlob(java.lang.String, byte[]))`(`[String](https://developer.android.com/reference/java/lang/String.html)` columnName, byte[] value) ` Returns a matcher that matches a byte\[\] at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.                                                                                                                                                                                                                                 |
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowBlob](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowBlob(int, byte[]))`(int columnIndex, byte[] value) ` Returns a matcher that matches a byte\[\] at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.                                                                                                                                                                                                                                                                                                                   |
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowDouble](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowDouble(int, org.hamcrest.Matcher<java.lang.Double>))`(int columnIndex, Matcher<`[Double](https://developer.android.com/reference/java/lang/Double.html)`> valueMatcher) ` Returns a matcher that matches a[Double](https://developer.android.com/reference/java/lang/Double.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.                                                                                                                         |
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowDouble](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowDouble(java.lang.String, double))`(`[String](https://developer.android.com/reference/java/lang/String.html)` columnName, double value) ` Returns a matcher that matches a[Double](https://developer.android.com/reference/java/lang/Double.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.                                                                                                                                                          |
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowDouble](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowDouble(org.hamcrest.Matcher<java.lang.String>, org.hamcrest.Matcher<java.lang.Double>))`(Matcher<`[String](https://developer.android.com/reference/java/lang/String.html)`> columnNameMatcher, Matcher<`[Double](https://developer.android.com/reference/java/lang/Double.html)`> valueMatcher) ` Returns a matcher that matches a[Double](https://developer.android.com/reference/java/lang/Double.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row. |
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowDouble](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowDouble(int, double))`(int columnIndex, double value) ` Returns a matcher that matches a[Double](https://developer.android.com/reference/java/lang/Double.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.                                                                                                                                                                                                                                            |
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowDouble](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowDouble(java.lang.String, org.hamcrest.Matcher<java.lang.Double>))`(`[String](https://developer.android.com/reference/java/lang/String.html)` columnName, Matcher<`[Double](https://developer.android.com/reference/java/lang/Double.html)`> valueMatcher) ` Returns a matcher that matches a[Double](https://developer.android.com/reference/java/lang/Double.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.                                       |
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowFloat](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowFloat(java.lang.String, org.hamcrest.Matcher<java.lang.Float>))`(`[String](https://developer.android.com/reference/java/lang/String.html)` columnName, Matcher<`[Float](https://developer.android.com/reference/java/lang/Float.html)`> valueMatcher) ` Returns a matcher that matches a[Float](https://developer.android.com/reference/java/lang/Float.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.                                              |
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowFloat](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowFloat(org.hamcrest.Matcher<java.lang.String>, org.hamcrest.Matcher<java.lang.Float>))`(Matcher<`[String](https://developer.android.com/reference/java/lang/String.html)`> columnNameMatcher, Matcher<`[Float](https://developer.android.com/reference/java/lang/Float.html)`> valueMatcher) ` Returns a matcher that matches a[Float](https://developer.android.com/reference/java/lang/Float.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.        |
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowFloat](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowFloat(java.lang.String, float))`(`[String](https://developer.android.com/reference/java/lang/String.html)` columnName, float value) ` Returns a matcher that matches a[Float](https://developer.android.com/reference/java/lang/Float.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.                                                                                                                                                                |
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowFloat](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowFloat(int, org.hamcrest.Matcher<java.lang.Float>))`(int columnIndex, Matcher<`[Float](https://developer.android.com/reference/java/lang/Float.html)`> valueMatcher) ` Returns a matcher that matches a[Float](https://developer.android.com/reference/java/lang/Float.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.                                                                                                                                |
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowFloat](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowFloat(int, float))`(int columnIndex, float value) ` Returns a matcher that matches a[Float](https://developer.android.com/reference/java/lang/Float.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.                                                                                                                                                                                                                                                  |
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowInt](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowInt(java.lang.String, org.hamcrest.Matcher<java.lang.Integer>))`(`[String](https://developer.android.com/reference/java/lang/String.html)` columnName, Matcher<`[Integer](https://developer.android.com/reference/java/lang/Integer.html)`> valueMatcher) ` Returns a matcher that matches a[Integer](https://developer.android.com/reference/java/lang/Integer.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.                                        |
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowInt](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowInt(java.lang.String, int))`(`[String](https://developer.android.com/reference/java/lang/String.html)` columnName, int value) ` Returns a matcher that matches a[Integer](https://developer.android.com/reference/java/lang/Integer.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.                                                                                                                                                                    |
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowInt](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowInt(org.hamcrest.Matcher<java.lang.String>, org.hamcrest.Matcher<java.lang.Integer>))`(Matcher<`[String](https://developer.android.com/reference/java/lang/String.html)`> columnNameMatcher, Matcher<`[Integer](https://developer.android.com/reference/java/lang/Integer.html)`> valueMatcher) ` Returns a matcher that matches a[Integer](https://developer.android.com/reference/java/lang/Integer.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  |
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowInt](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowInt(int, int))`(int columnIndex, int value) ` Returns a matcher that matches a[Integer](https://developer.android.com/reference/java/lang/Integer.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.                                                                                                                                                                                                                                                      |
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowInt](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowInt(int, org.hamcrest.Matcher<java.lang.Integer>))`(int columnIndex, Matcher<`[Integer](https://developer.android.com/reference/java/lang/Integer.html)`> valueMatcher) ` Returns a matcher that matches a[Integer](https://developer.android.com/reference/java/lang/Integer.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.                                                                                                                          |
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowLong](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowLong(java.lang.String, long))`(`[String](https://developer.android.com/reference/java/lang/String.html)` columnName, long value) ` Returns a matcher that matches a[Long](https://developer.android.com/reference/java/lang/Long.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.                                                                                                                                                                      |
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowLong](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowLong(int, long))`(int columnIndex, long value) ` Returns a matcher that matches a[Long](https://developer.android.com/reference/java/lang/Long.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.                                                                                                                                                                                                                                                        |
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowLong](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowLong(org.hamcrest.Matcher<java.lang.String>, org.hamcrest.Matcher<java.lang.Long>))`(Matcher<`[String](https://developer.android.com/reference/java/lang/String.html)`> columnNameMatcher, Matcher<`[Long](https://developer.android.com/reference/java/lang/Long.html)`> valueMatcher) ` Returns a matcher that matches a[Long](https://developer.android.com/reference/java/lang/Long.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.               |
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowLong](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowLong(java.lang.String, org.hamcrest.Matcher<java.lang.Long>))`(`[String](https://developer.android.com/reference/java/lang/String.html)` columnName, Matcher<`[Long](https://developer.android.com/reference/java/lang/Long.html)`> valueMatcher) ` Returns a matcher that matches a[Long](https://developer.android.com/reference/java/lang/Long.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.                                                     |
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowLong](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowLong(int, org.hamcrest.Matcher<java.lang.Long>))`(int columnIndex, Matcher<`[Long](https://developer.android.com/reference/java/lang/Long.html)`> valueMatcher) ` Returns a matcher that matches a[Long](https://developer.android.com/reference/java/lang/Long.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.                                                                                                                                       |
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowShort](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowShort(int, org.hamcrest.Matcher<java.lang.Short>))`(int columnIndex, Matcher<`[Short](https://developer.android.com/reference/java/lang/Short.html)`> valueMatcher) ` Returns a matcher that matches a[Short](https://developer.android.com/reference/java/lang/Short.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.                                                                                                                                |
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowShort](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowShort(java.lang.String, short))`(`[String](https://developer.android.com/reference/java/lang/String.html)` columnName, short value) ` Returns a matcher that matches a[Short](https://developer.android.com/reference/java/lang/Short.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.                                                                                                                                                                |
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowShort](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowShort(org.hamcrest.Matcher<java.lang.String>, org.hamcrest.Matcher<java.lang.Short>))`(Matcher<`[String](https://developer.android.com/reference/java/lang/String.html)`> columnNameMatcher, Matcher<`[Short](https://developer.android.com/reference/java/lang/Short.html)`> valueMatcher) ` Returns a matcher that matches a[Short](https://developer.android.com/reference/java/lang/Short.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.        |
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowShort](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowShort(java.lang.String, org.hamcrest.Matcher<java.lang.Short>))`(`[String](https://developer.android.com/reference/java/lang/String.html)` columnName, Matcher<`[Short](https://developer.android.com/reference/java/lang/Short.html)`> valueMatcher) ` Returns a matcher that matches a[Short](https://developer.android.com/reference/java/lang/Short.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.                                              |
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowShort](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowShort(int, short))`(int columnIndex, short value) ` Returns a matcher that matches a[Short](https://developer.android.com/reference/java/lang/Short.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.                                                                                                                                                                                                                                                  |
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowString](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowString(int, org.hamcrest.Matcher<java.lang.String>))`(int columnIndex, Matcher<`[String](https://developer.android.com/reference/java/lang/String.html)`> valueMatcher) ` Returns a matcher that matches a[String](https://developer.android.com/reference/java/lang/String.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.                                                                                                                         |
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowString](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowString(java.lang.String, org.hamcrest.Matcher<java.lang.String>))`(`[String](https://developer.android.com/reference/java/lang/String.html)` columnName, Matcher<`[String](https://developer.android.com/reference/java/lang/String.html)`> valueMatcher) ` Returns a matcher that matches a[String](https://developer.android.com/reference/java/lang/String.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.                                       |
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowString](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowString(java.lang.String, java.lang.String))`(`[String](https://developer.android.com/reference/java/lang/String.html)` columnName, `[String](https://developer.android.com/reference/java/lang/String.html)` value) ` Returns a matcher that matches a[String](https://developer.android.com/reference/java/lang/String.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.                                                                             |
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowString](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowString(int, java.lang.String))`(int columnIndex, `[String](https://developer.android.com/reference/java/lang/String.html)` value) ` Returns a matcher that matches a[String](https://developer.android.com/reference/java/lang/String.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.                                                                                                                                                               |
| ` static `[CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | ` `[withRowString](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#withRowString(org.hamcrest.Matcher<java.lang.String>, org.hamcrest.Matcher<java.lang.String>))`(Matcher<`[String](https://developer.android.com/reference/java/lang/String.html)`> columnPicker, Matcher<`[String](https://developer.android.com/reference/java/lang/String.html)`> valueMatcher) ` Returns a matcher that matches a[String](https://developer.android.com/reference/java/lang/String.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.      |

| ### Inherited methods |
|-----------------------|---|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers#)From class` `[java.lang.Object](https://developer.android.com/reference/java/lang/Object.html)` ` |-------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------| | ` `[Object](https://developer.android.com/reference/java/lang/Object.html)          | ` clone() `                                                                                | | ` boolean`                                                                          | ` equals(`[Object](https://developer.android.com/reference/java/lang/Object.html)` arg0) ` | | ` void`                                                                             | ` finalize() `                                                                             | | ` final `[Class](https://developer.android.com/reference/java/lang/Class.html)`<?>` | ` getClass() `                                                                             | | ` int`                                                                              | ` hashCode() `                                                                             | | ` final void`                                                                       | ` notify() `                                                                               | | ` final void`                                                                       | ` notifyAll() `                                                                            | | ` `[String](https://developer.android.com/reference/java/lang/String.html)          | ` toString() `                                                                             | | ` final void`                                                                       | ` wait(long arg0, int arg1) `                                                              | | ` final void`                                                                       | ` wait(long arg0) `                                                                        | | ` final void`                                                                       | ` wait() `                                                                                 | ||

## Public methods

### withRowBlob

```
CursorMatchers.CursorMatcher withRowBlob (int columnIndex, 
                Matcher<byte[]> valueMatcher)
```

Returns a matcher that matches a byte\[\] at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                                                                   Parameters                                                                   ||
|----------------|--------------------------------------------------------------------------------------------------------------------------------|
| `columnIndex`  | `int`: int column index <br />                                                                                                 |
| `valueMatcher` | `Matcher`: a[`Matcher `](http://hamcrest.org/JavaHamcrest/javadoc/1.3/org/hamcrest/Matcher.html)that matches a byte\[\] <br /> |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

### withRowBlob

```
CursorMatchers.CursorMatcher withRowBlob (Matcher<String> columnPicker, 
                Matcher<byte[]> valueMatcher)
```

Returns a matcher that matches a byte\[\] at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                                                                                             Parameters                                                                                              ||
|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `columnPicker` | `Matcher`: as a[`Matcher `](http://hamcrest.org/JavaHamcrest/javadoc/1.3/org/hamcrest/Matcher.html)of[String](https://developer.android.com/reference/java/lang/String.html) <br /> |
| `valueMatcher` | `Matcher`: a[`Matcher `](http://hamcrest.org/JavaHamcrest/javadoc/1.3/org/hamcrest/Matcher.html)that matches a byte\[\] <br />                                                      |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

### withRowBlob

```
CursorMatchers.CursorMatcher withRowBlob (String columnName, 
                Matcher<byte[]> valueMatcher)
```

Returns a matcher that matches a byte\[\] at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                                                                   Parameters                                                                   ||
|----------------|--------------------------------------------------------------------------------------------------------------------------------|
| `columnName`   | `String`: as a[String](https://developer.android.com/reference/java/lang/String.html) <br />                                   |
| `valueMatcher` | `Matcher`: a[`Matcher `](http://hamcrest.org/JavaHamcrest/javadoc/1.3/org/hamcrest/Matcher.html)that matches a byte\[\] <br /> |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

### withRowBlob

```
CursorMatchers.CursorMatcher withRowBlob (String columnName, 
                byte[] value)
```

Returns a matcher that matches a byte\[\] at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                                                 Parameters                                                 ||
|--------------|----------------------------------------------------------------------------------------------|
| `columnName` | `String`: as a[String](https://developer.android.com/reference/java/lang/String.html) <br /> |
| `value`      | `byte`: byte\[\] to match <br />                                                             |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

### withRowBlob

```
CursorMatchers.CursorMatcher withRowBlob (int columnIndex, 
                byte[] value)
```

Returns a matcher that matches a byte\[\] at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                   Parameters                    ||
|---------------|----------------------------------|
| `columnIndex` | `int`: int column index <br />   |
| `value`       | `byte`: byte\[\] to match <br /> |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

### withRowDouble

```
CursorMatchers.CursorMatcher withRowDouble (int columnIndex, 
                Matcher<Double> valueMatcher)
```

Returns a matcher that matches a[Double](https://developer.android.com/reference/java/lang/Double.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                                                                                                    Parameters                                                                                                     ||
|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `columnIndex`  | `int`: int column index <br />                                                                                                                                                                    |
| `valueMatcher` | `Matcher`: a[`Matcher `](http://hamcrest.org/JavaHamcrest/javadoc/1.3/org/hamcrest/Matcher.html)that matches a[Double](https://developer.android.com/reference/java/lang/Double.html)value <br /> |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

### withRowDouble

```
CursorMatchers.CursorMatcher withRowDouble (String columnName, 
                double value)
```

Returns a matcher that matches a[Double](https://developer.android.com/reference/java/lang/Double.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                                                 Parameters                                                 ||
|--------------|----------------------------------------------------------------------------------------------|
| `columnName` | `String`: as a[String](https://developer.android.com/reference/java/lang/String.html) <br /> |
| `value`      | `double`: a double value to match <br />                                                     |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

### withRowDouble

```
CursorMatchers.CursorMatcher withRowDouble (Matcher<String> columnNameMatcher, 
                Matcher<Double> valueMatcher)
```

Returns a matcher that matches a[Double](https://developer.android.com/reference/java/lang/Double.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                                                                                                       Parameters                                                                                                       ||
|---------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `columnNameMatcher` | `Matcher`: as a[`Matcher `](http://hamcrest.org/JavaHamcrest/javadoc/1.3/org/hamcrest/Matcher.html)of[String](https://developer.android.com/reference/java/lang/String.html) <br />               |
| `valueMatcher`      | `Matcher`: a[`Matcher `](http://hamcrest.org/JavaHamcrest/javadoc/1.3/org/hamcrest/Matcher.html)that matches a[Double](https://developer.android.com/reference/java/lang/Double.html)value <br /> |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

### withRowDouble

```
CursorMatchers.CursorMatcher withRowDouble (int columnIndex, 
                double value)
```

Returns a matcher that matches a[Double](https://developer.android.com/reference/java/lang/Double.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                       Parameters                        ||
|---------------|------------------------------------------|
| `columnIndex` | `int`: int column index <br />           |
| `value`       | `double`: a double value to match <br /> |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

### withRowDouble

```
CursorMatchers.CursorMatcher withRowDouble (String columnName, 
                Matcher<Double> valueMatcher)
```

Returns a matcher that matches a[Double](https://developer.android.com/reference/java/lang/Double.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                                                                                                    Parameters                                                                                                     ||
|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `columnName`   | `String`: as a[String](https://developer.android.com/reference/java/lang/String.html) <br />                                                                                                      |
| `valueMatcher` | `Matcher`: a[`Matcher `](http://hamcrest.org/JavaHamcrest/javadoc/1.3/org/hamcrest/Matcher.html)that matches a[Double](https://developer.android.com/reference/java/lang/Double.html)value <br /> |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

### withRowFloat

```
CursorMatchers.CursorMatcher withRowFloat (String columnName, 
                Matcher<Float> valueMatcher)
```

Returns a matcher that matches a[Float](https://developer.android.com/reference/java/lang/Float.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                                                                                                   Parameters                                                                                                    ||
|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `columnName`   | `String`: as a[String](https://developer.android.com/reference/java/lang/String.html) <br />                                                                                                    |
| `valueMatcher` | `Matcher`: a[`Matcher `](http://hamcrest.org/JavaHamcrest/javadoc/1.3/org/hamcrest/Matcher.html)that matches a[Float](https://developer.android.com/reference/java/lang/Float.html)value <br /> |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

### withRowFloat

```
CursorMatchers.CursorMatcher withRowFloat (Matcher<String> columnNameMatcher, 
                Matcher<Float> valueMatcher)
```

Returns a matcher that matches a[Float](https://developer.android.com/reference/java/lang/Float.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                                                                                                      Parameters                                                                                                      ||
|---------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `columnNameMatcher` | `Matcher`: as a[`Matcher `](http://hamcrest.org/JavaHamcrest/javadoc/1.3/org/hamcrest/Matcher.html)of[String](https://developer.android.com/reference/java/lang/String.html) <br />             |
| `valueMatcher`      | `Matcher`: a[`Matcher `](http://hamcrest.org/JavaHamcrest/javadoc/1.3/org/hamcrest/Matcher.html)that matches a[Float](https://developer.android.com/reference/java/lang/Float.html)value <br /> |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

### withRowFloat

```
CursorMatchers.CursorMatcher withRowFloat (String columnName, 
                float value)
```

Returns a matcher that matches a[Float](https://developer.android.com/reference/java/lang/Float.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                                                 Parameters                                                 ||
|--------------|----------------------------------------------------------------------------------------------|
| `columnName` | `String`: as a[String](https://developer.android.com/reference/java/lang/String.html) <br /> |
| `value`      | `float`: a float value to match <br />                                                       |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

### withRowFloat

```
CursorMatchers.CursorMatcher withRowFloat (int columnIndex, 
                Matcher<Float> valueMatcher)
```

Returns a matcher that matches a[Float](https://developer.android.com/reference/java/lang/Float.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                                                                                                   Parameters                                                                                                    ||
|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `columnIndex`  | `int`: int column index <br />                                                                                                                                                                  |
| `valueMatcher` | `Matcher`: a[`Matcher `](http://hamcrest.org/JavaHamcrest/javadoc/1.3/org/hamcrest/Matcher.html)that matches a[Float](https://developer.android.com/reference/java/lang/Float.html)value <br /> |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

### withRowFloat

```
CursorMatchers.CursorMatcher withRowFloat (int columnIndex, 
                float value)
```

Returns a matcher that matches a[Float](https://developer.android.com/reference/java/lang/Float.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                      Parameters                       ||
|---------------|----------------------------------------|
| `columnIndex` | `int`: int column index <br />         |
| `value`       | `float`: a float value to match <br /> |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

### withRowInt

```
CursorMatchers.CursorMatcher withRowInt (String columnName, 
                Matcher<Integer> valueMatcher)
```

Returns a matcher that matches a[Integer](https://developer.android.com/reference/java/lang/Integer.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                                                                                                     Parameters                                                                                                      ||
|----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `columnName`   | `String`: as a[String](https://developer.android.com/reference/java/lang/String.html) <br />                                                                                                        |
| `valueMatcher` | `Matcher`: a[`Matcher `](http://hamcrest.org/JavaHamcrest/javadoc/1.3/org/hamcrest/Matcher.html)that matches a[Integer](https://developer.android.com/reference/java/lang/Integer.html)value <br /> |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

### withRowInt

```
CursorMatchers.CursorMatcher withRowInt (String columnName, 
                int value)
```

Returns a matcher that matches a[Integer](https://developer.android.com/reference/java/lang/Integer.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                                                 Parameters                                                 ||
|--------------|----------------------------------------------------------------------------------------------|
| `columnName` | `String`: as a[String](https://developer.android.com/reference/java/lang/String.html) <br /> |
| `value`      | `int`: a int value to match <br />                                                           |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

### withRowInt

```
CursorMatchers.CursorMatcher withRowInt (Matcher<String> columnNameMatcher, 
                Matcher<Integer> valueMatcher)
```

Returns a matcher that matches a[Integer](https://developer.android.com/reference/java/lang/Integer.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                                                                                                        Parameters                                                                                                        ||
|---------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `columnNameMatcher` | `Matcher`: as a[`Matcher `](http://hamcrest.org/JavaHamcrest/javadoc/1.3/org/hamcrest/Matcher.html)of[String](https://developer.android.com/reference/java/lang/String.html) <br />                 |
| `valueMatcher`      | `Matcher`: a[`Matcher `](http://hamcrest.org/JavaHamcrest/javadoc/1.3/org/hamcrest/Matcher.html)that matches a[Integer](https://developer.android.com/reference/java/lang/Integer.html)value <br /> |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

### withRowInt

```
CursorMatchers.CursorMatcher withRowInt (int columnIndex, 
                int value)
```

Returns a matcher that matches a[Integer](https://developer.android.com/reference/java/lang/Integer.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                    Parameters                     ||
|---------------|------------------------------------|
| `columnIndex` | `int`: int column index <br />     |
| `value`       | `int`: a int value to match <br /> |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

### withRowInt

```
CursorMatchers.CursorMatcher withRowInt (int columnIndex, 
                Matcher<Integer> valueMatcher)
```

Returns a matcher that matches a[Integer](https://developer.android.com/reference/java/lang/Integer.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                                                                                                     Parameters                                                                                                      ||
|----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `columnIndex`  | `int`: int column index <br />                                                                                                                                                                      |
| `valueMatcher` | `Matcher`: a[`Matcher `](http://hamcrest.org/JavaHamcrest/javadoc/1.3/org/hamcrest/Matcher.html)that matches a[Integer](https://developer.android.com/reference/java/lang/Integer.html)value <br /> |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

### withRowLong

```
CursorMatchers.CursorMatcher withRowLong (String columnName, 
                long value)
```

Returns a matcher that matches a[Long](https://developer.android.com/reference/java/lang/Long.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                                                 Parameters                                                 ||
|--------------|----------------------------------------------------------------------------------------------|
| `columnName` | `String`: as a[String](https://developer.android.com/reference/java/lang/String.html) <br /> |
| `value`      | `long`: a long value to match <br />                                                         |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

### withRowLong

```
CursorMatchers.CursorMatcher withRowLong (int columnIndex, 
                long value)
```

Returns a matcher that matches a[Long](https://developer.android.com/reference/java/lang/Long.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                     Parameters                      ||
|---------------|--------------------------------------|
| `columnIndex` | `int`: int column index <br />       |
| `value`       | `long`: a long value to match <br /> |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

### withRowLong

```
CursorMatchers.CursorMatcher withRowLong (Matcher<String> columnNameMatcher, 
                Matcher<Long> valueMatcher)
```

Returns a matcher that matches a[Long](https://developer.android.com/reference/java/lang/Long.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                                                                                                     Parameters                                                                                                     ||
|---------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `columnNameMatcher` | `Matcher`: as a[`Matcher `](http://hamcrest.org/JavaHamcrest/javadoc/1.3/org/hamcrest/Matcher.html)of[String](https://developer.android.com/reference/java/lang/String.html) <br />           |
| `valueMatcher`      | `Matcher`: a[`Matcher `](http://hamcrest.org/JavaHamcrest/javadoc/1.3/org/hamcrest/Matcher.html)that matches a[Long](https://developer.android.com/reference/java/lang/Long.html)value <br /> |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

### withRowLong

```
CursorMatchers.CursorMatcher withRowLong (String columnName, 
                Matcher<Long> valueMatcher)
```

Returns a matcher that matches a[Long](https://developer.android.com/reference/java/lang/Long.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                                                                                                  Parameters                                                                                                   ||
|----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `columnName`   | `String`: as a[String](https://developer.android.com/reference/java/lang/String.html) <br />                                                                                                  |
| `valueMatcher` | `Matcher`: a[`Matcher `](http://hamcrest.org/JavaHamcrest/javadoc/1.3/org/hamcrest/Matcher.html)that matches a[Long](https://developer.android.com/reference/java/lang/Long.html)value <br /> |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

### withRowLong

```
CursorMatchers.CursorMatcher withRowLong (int columnIndex, 
                Matcher<Long> valueMatcher)
```

Returns a matcher that matches a[Long](https://developer.android.com/reference/java/lang/Long.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                                                                                                  Parameters                                                                                                   ||
|----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `columnIndex`  | `int`: int column index <br />                                                                                                                                                                |
| `valueMatcher` | `Matcher`: a[`Matcher `](http://hamcrest.org/JavaHamcrest/javadoc/1.3/org/hamcrest/Matcher.html)that matches a[Long](https://developer.android.com/reference/java/lang/Long.html)value <br /> |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

### withRowShort

```
CursorMatchers.CursorMatcher withRowShort (int columnIndex, 
                Matcher<Short> valueMatcher)
```

Returns a matcher that matches a[Short](https://developer.android.com/reference/java/lang/Short.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                                                                                                   Parameters                                                                                                    ||
|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `columnIndex`  | `int`: int column index <br />                                                                                                                                                                  |
| `valueMatcher` | `Matcher`: a[`Matcher `](http://hamcrest.org/JavaHamcrest/javadoc/1.3/org/hamcrest/Matcher.html)that matches a[Short](https://developer.android.com/reference/java/lang/Short.html)value <br /> |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

### withRowShort

```
CursorMatchers.CursorMatcher withRowShort (String columnName, 
                short value)
```

Returns a matcher that matches a[Short](https://developer.android.com/reference/java/lang/Short.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                                                 Parameters                                                 ||
|--------------|----------------------------------------------------------------------------------------------|
| `columnName` | `String`: as a[String](https://developer.android.com/reference/java/lang/String.html) <br /> |
| `value`      | `short`: a short value to match <br />                                                       |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

### withRowShort

```
CursorMatchers.CursorMatcher withRowShort (Matcher<String> columnNameMatcher, 
                Matcher<Short> valueMatcher)
```

Returns a matcher that matches a[Short](https://developer.android.com/reference/java/lang/Short.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                                                                                                      Parameters                                                                                                      ||
|---------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `columnNameMatcher` | `Matcher`: as a[`Matcher `](http://hamcrest.org/JavaHamcrest/javadoc/1.3/org/hamcrest/Matcher.html)of[String](https://developer.android.com/reference/java/lang/String.html) <br />             |
| `valueMatcher`      | `Matcher`: a[`Matcher `](http://hamcrest.org/JavaHamcrest/javadoc/1.3/org/hamcrest/Matcher.html)that matches a[Short](https://developer.android.com/reference/java/lang/Short.html)value <br /> |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

### withRowShort

```
CursorMatchers.CursorMatcher withRowShort (String columnName, 
                Matcher<Short> valueMatcher)
```

Returns a matcher that matches a[Short](https://developer.android.com/reference/java/lang/Short.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                                                                                                   Parameters                                                                                                    ||
|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `columnName`   | `String`: as a[String](https://developer.android.com/reference/java/lang/String.html) <br />                                                                                                    |
| `valueMatcher` | `Matcher`: a[`Matcher `](http://hamcrest.org/JavaHamcrest/javadoc/1.3/org/hamcrest/Matcher.html)that matches a[Short](https://developer.android.com/reference/java/lang/Short.html)value <br /> |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

### withRowShort

```
CursorMatchers.CursorMatcher withRowShort (int columnIndex, 
                short value)
```

Returns a matcher that matches a[Short](https://developer.android.com/reference/java/lang/Short.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                      Parameters                       ||
|---------------|----------------------------------------|
| `columnIndex` | `int`: int column index <br />         |
| `value`       | `short`: a short value to match <br /> |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

### withRowString

```
CursorMatchers.CursorMatcher withRowString (int columnIndex, 
                Matcher<String> valueMatcher)
```

Returns a matcher that matches a[String](https://developer.android.com/reference/java/lang/String.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                                                                                                    Parameters                                                                                                     ||
|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `columnIndex`  | `int`: int column index <br />                                                                                                                                                                    |
| `valueMatcher` | `Matcher`: a[`Matcher `](http://hamcrest.org/JavaHamcrest/javadoc/1.3/org/hamcrest/Matcher.html)that matches a[String](https://developer.android.com/reference/java/lang/String.html)value <br /> |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

### withRowString

```
CursorMatchers.CursorMatcher withRowString (String columnName, 
                Matcher<String> valueMatcher)
```

Returns a matcher that matches a[String](https://developer.android.com/reference/java/lang/String.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                                                                                                    Parameters                                                                                                     ||
|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `columnName`   | `String`: as a[String](https://developer.android.com/reference/java/lang/String.html) <br />                                                                                                      |
| `valueMatcher` | `Matcher`: a[`Matcher `](http://hamcrest.org/JavaHamcrest/javadoc/1.3/org/hamcrest/Matcher.html)that matches a[String](https://developer.android.com/reference/java/lang/String.html)value <br /> |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

### withRowString

```
CursorMatchers.CursorMatcher withRowString (String columnName, 
                String value)
```

Returns a matcher that matches a[String](https://developer.android.com/reference/java/lang/String.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                                                      Parameters                                                       ||
|--------------|---------------------------------------------------------------------------------------------------------|
| `columnName` | `String`: as a[String](https://developer.android.com/reference/java/lang/String.html) <br />            |
| `value`      | `String`: a[String](https://developer.android.com/reference/java/lang/String.html)value to match <br /> |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

### withRowString

```
CursorMatchers.CursorMatcher withRowString (int columnIndex, 
                String value)
```

Returns a matcher that matches a[String](https://developer.android.com/reference/java/lang/String.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                                                       Parameters                                                       ||
|---------------|---------------------------------------------------------------------------------------------------------|
| `columnIndex` | `int`: int column index <br />                                                                          |
| `value`       | `String`: a[String](https://developer.android.com/reference/java/lang/String.html)value to match <br /> |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

### withRowString

```
CursorMatchers.CursorMatcher withRowString (Matcher<String> columnPicker, 
                Matcher<String> valueMatcher)
```

Returns a matcher that matches a[String](https://developer.android.com/reference/java/lang/String.html)value at a given column index in a[Cursor](https://developer.android.com/reference/android/database/Cursor.html)s data row.  

<br />

|                                                                                                    Parameters                                                                                                     ||
|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `columnPicker` | `Matcher`: as a[`Matcher `](http://hamcrest.org/JavaHamcrest/javadoc/1.3/org/hamcrest/Matcher.html)of[String](https://developer.android.com/reference/java/lang/String.html) <br />               |
| `valueMatcher` | `Matcher`: a[`Matcher `](http://hamcrest.org/JavaHamcrest/javadoc/1.3/org/hamcrest/Matcher.html)that matches a[String](https://developer.android.com/reference/java/lang/String.html)value <br /> |

|                                                                      Returns                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher) | <br /> |

-

  ## Classes

  - [BoundedMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/BoundedMatcher)
  - [CursorMatchers](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers)
  - [CursorMatchers.CursorMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/CursorMatchers.CursorMatcher)
  - [HasBackgroundMatcher](https://developer.android.com/reference/android/support/test/espresso/matcher/HasBackgroundMatcher)
  - [LayoutMatchers](https://developer.android.com/reference/android/support/test/espresso/matcher/LayoutMatchers)
  - [PreferenceMatchers](https://developer.android.com/reference/android/support/test/espresso/matcher/PreferenceMatchers)
  - [RootMatchers](https://developer.android.com/reference/android/support/test/espresso/matcher/RootMatchers)
  - [ViewMatchers](https://developer.android.com/reference/android/support/test/espresso/matcher/ViewMatchers)
-

  ## Enums

  - [ViewMatchers.Visibility](https://developer.android.com/reference/android/support/test/espresso/matcher/ViewMatchers.Visibility)