public class MatrixCursor.RowBuilder extends Object
add(Object), which starts from the left-most column and adds one
column value at a time. This follows the same ordering as the column
names specified at cursor construction time.
add(String, Object). If the cursor includes the given column,
the value will be set for that column, otherwise the value is ignored.
This approach is useful when matching data to a custom projection.
null.| Modifier and Type | Method and Description |
|---|---|
MatrixCursor.RowBuilder |
add(Object columnValue)
Sets the next column value in this row.
|
MatrixCursor.RowBuilder |
add(String columnName,
Object value)
Offer value for possible inclusion if this cursor defines the given
column.
|
public MatrixCursor.RowBuilder add(Object columnValue)
CursorIndexOutOfBoundsException - if you try to add too many
valuespublic MatrixCursor.RowBuilder add(String columnName, Object value)