Slice contracts the slice and List to the range of start/end indices.
(start, end int)
| 324 | |
| 325 | // Slice contracts the slice and List to the range of start/end indices. |
| 326 | func (l *TList) Slice(start, end int) { |
| 327 | l.prev = l.im |
| 328 | l.im = l.im.Slice(start, end) |
| 329 | l.builder.Slice(start, end) |
| 330 | l.std = l.std[start:end] |
| 331 | } |
| 332 | |
| 333 | // Validate returns an error if the slice and List are different. |
| 334 | func (l *TList) Validate() error { |
no outgoing calls
no test coverage detected