Item 51 Reuse generic array methods on array-like objects