public int itemCount() {
   return usernames.itemCount() * passwords.itemCount();
 }
 public UsernameAndPassword itemAt(int index) {
   return new UsernameAndPassword(
       usernames.itemAt(index / passwords.itemCount()),
       passwords.itemAt(index % passwords.itemCount()));
 }