I believe there is an error on page 579 in the toArray() section
Now let's take a look at the toArray() method. There's nothing too fancy going
on with the toArray() method; it comes in two flavors: one that returns a new
Object array, and one that uses the array you send it as the destination array:
will throw an Incompatible types error because required is Integer and found is Object
Have other people noticed this as well or am I doing something wrong?