()
| 283 | type Vector []*Sample |
| 284 | |
| 285 | func (vec Vector) String() string { |
| 286 | entries := make([]string, len(vec)) |
| 287 | for i, s := range vec { |
| 288 | entries[i] = s.String() |
| 289 | } |
| 290 | return strings.Join(entries, "\n") |
| 291 | } |
| 292 | |
| 293 | func (vec Vector) Len() int { return len(vec) } |
| 294 | func (vec Vector) Swap(i, j int) { vec[i], vec[j] = vec[j], vec[i] } |
nothing calls this directly
no outgoing calls
no test coverage detected