The documentation for GenericUserPreferenceArray says "Like {@link GenericItemPreferenceArray} but stores preferences for one user (all user IDs the same) rather than one item."
Further on it says, "This implementation maintains two parallel arrays, of user IDs and values." Should that end with "of item Ids and values"? See https://builds.apache.org/job/Mahout-Quality/javadoc/org/apache/mahout/cf/taste/impl/model/GenericUserPreferenceArray.html Don