Changeset 16385
- Timestamp:
- 12/14/18 15:17:17 (6 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
-
stable/HeuristicLab.Data/3.3
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Data/3.3 (added) merged: 16280
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Data/3.3/StringMatrix.cs
r15584 r16385 209 209 } 210 210 211 public string[,] CloneAsMatrix() { 212 return (string[,])matrix.Clone(); 213 } 214 215 public virtual IEnumerable<string> GetRow(int row) { 216 for (var col = 0; col < Columns; col++) { 217 yield return matrix[row, col]; 218 } 219 } 220 221 public virtual IEnumerable<string> GetColumn(int col) { 222 for (var row = 0; row < Rows; row++) { 223 yield return matrix[row, col]; 224 } 225 } 226 211 227 public override string ToString() { 212 228 if (matrix.Length == 0) return "[]";
Note: See TracChangeset
for help on using the changeset viewer.