Changeset 14082
- Timestamp:
- 07/15/16 13:17:35 (8 years ago)
- Location:
- trunk/sources/HeuristicLab.Data/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Data/3.3/ValueTypeArray.cs
r13695 r14082 146 146 } 147 147 148 public T[,] CloneAsArray() { 149 //mkommend: this works because T must be a value type (struct constraint); 150 return (T[,])array.Clone(); 151 } 152 148 153 public override string ToString() { 149 154 if (array.Length == 0) return "[]"; -
trunk/sources/HeuristicLab.Data/3.3/ValueTypeMatrix.cs
r12012 r14082 195 195 } 196 196 197 198 public T[,] CloneAsMatrix() { 199 //mkommend: this works because T must be a value type (struct constraint); 200 return (T[,])matrix.Clone(); 201 } 202 197 203 public override string ToString() { 198 204 if (matrix.Length == 0) return "[]";
Note: See TracChangeset
for help on using the changeset viewer.