@ Override public Iterable < I > getUserItems ( U u ) { if ( userItemPreferences . containsKey ( u ) ) { return userItemPreferences . get ( u ) . keySet ( ) ; } return Collections . emptySet ( ) ; }
Method that returns the items of a user .