(key string, value *MatrixRow)
| 51 | } |
| 52 | |
| 53 | func (matrix *Matrix) Set(key string, value *MatrixRow) bool { |
| 54 | if matrix == nil { |
| 55 | matrix = NewMatrix() |
| 56 | } |
| 57 | if matrix.om == nil { |
| 58 | matrix.om = orderedmap.NewOrderedMap[string, *MatrixRow]() |
| 59 | } |
| 60 | return matrix.om.Set(key, value) |
| 61 | } |
| 62 | |
| 63 | // All returns an iterator that loops over all task key-value pairs. |
| 64 | func (matrix *Matrix) All() iter.Seq2[string, *MatrixRow] { |
no test coverage detected