175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
|
if (row >= rows || column >= columns)
@throw [OFOutOfRangeException newWithClass: isa];
data[row * columns + column] = value;
}
- (double)valueForRow: (size_t)row
column: (size_t)column
{
if (row >= rows || column >= columns)
@throw [OFOutOfRangeException newWithClass: isa];
return data[row * columns + column];
}
|
|
|
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
|
if (row >= rows || column >= columns)
@throw [OFOutOfRangeException newWithClass: isa];
data[row * columns + column] = value;
}
- (double)valueForRow: (size_t)row
column: (size_t)column
{
if (row >= rows || column >= columns)
@throw [OFOutOfRangeException newWithClass: isa];
return data[row * columns + column];
}
|