You should not be accessing `_array` directly, the underscore means it's mean to be a private variable.  Instead, call inlineStyleCollection.getObjects() and store that into a variable called `styleObjects` or something.