()
| 344 | } |
| 345 | |
| 346 | func (f *DeltaFIFO) listLocked() []interface{} { |
| 347 | list := make([]interface{}, 0, len(f.items)) |
| 348 | for _, item := range f.items { |
| 349 | list = append(list, item.Newest().Object) |
| 350 | } |
| 351 | return list |
| 352 | } |
| 353 | |
| 354 | // ListKeys returns a list of all the keys of the objects currently |
| 355 | // in the FIFO. |