Mutable holder for the column values and RowLocation of a conglomerate row. Use with caution because values and arrays are not copied when they are passed in and out.
| Modifier and Type | Field and Description |
|---|---|
| private DataValueDescriptor[] | |
| private RowLocation |
| Access | Constructor and Description |
|---|---|
| public | LocatedRow(DataValueDescriptor[] columnValues, RowLocation rowLocation)
Construct from column values and row location. |
| public | LocatedRow(DataValueDescriptor[] columnsAndRowLocation)
Construct from an array of column values, where the last value is the RowLocation. |
| Modifier and Type | Method and Description |
|---|---|
| public DataValueDescriptor[] | |
| public DataValueDescriptor[] | flatten()
Flatten this LocatedRow into a DataValueDescriptor[] where the last cell contains the RowLocation. |
| public static DataValueDescriptor[] | flatten(DataValueDescriptor[] columnValues, RowLocation rowLocation)
Append a RowLocation to the end of a column array |
| public RowLocation |
| _columnValues | back to summary |
|---|---|
| private DataValueDescriptor[] _columnValues | |
| _rowLocation | back to summary |
|---|---|
| private RowLocation _rowLocation | |
| LocatedRow | back to summary |
|---|---|
| public LocatedRow(DataValueDescriptor[] columnValues, RowLocation rowLocation) Construct from column values and row location. | |
| LocatedRow | back to summary |
|---|---|
| public LocatedRow(DataValueDescriptor[] columnsAndRowLocation) Construct from an array of column values, where the last value is the RowLocation. | |
| columnValues | back to summary |
|---|---|
| public DataValueDescriptor[] columnValues() Get the array of column values | |
| flatten | back to summary |
|---|---|
| public DataValueDescriptor[] flatten() Flatten this LocatedRow into a DataValueDescriptor[] where the last cell contains the RowLocation. | |
| flatten | back to summary |
|---|---|
| public static DataValueDescriptor[] flatten(DataValueDescriptor[] columnValues, RowLocation rowLocation) Append a RowLocation to the end of a column array | |
| rowLocation | back to summary |
|---|---|
| public RowLocation rowLocation() Get the RowLocation | |