()
| 304 | type Vector []*Sample |
| 305 | |
| 306 | func (vec Vector) String() string { |
| 307 | entries := make([]string, len(vec)) |
| 308 | for i, s := range vec { |
| 309 | entries[i] = s.String() |
| 310 | } |
| 311 | return strings.Join(entries, "\n") |
| 312 | } |
| 313 | |
| 314 | func (vec Vector) Len() int { return len(vec) } |
| 315 | 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