zoo_app/app/src/main/java/com/example/jhalloran/zoo/model/Zoo.java
public void addAnimal(Animal animal) {
    if (!getAnimals().contains(animal)) {
      UUID newUuid = UUID.randomUUID();
      idsToAnimals.put(newUuid, animal);
      allItems.put(newUuid, animal);
    }
  }
/**
   * @param animal {@link Animal} to add to the Zoo.
   */
@param animal  Animal to add to the Zoo.
@param animal Animal to add to the Zoo .
public void addAnimal(Animal animal) {
    if (!getAnimals().contains(animal)) {
      UUID newUuid = UUID.randomUUID();
      idsToAnimals.put(newUuid, animal);
      allItems.put(newUuid, animal);
    }
  }
public void addAnimal ( Animal animal ) { if ( ! getAnimals ( ) . contains ( animal ) ) { UUID newUuid = UUID . randomUUID ( ) ; idsToAnimals . put ( newUuid , animal ) ; allItems . put ( newUuid , animal ) ; } }
@param animal {@link Animal} to add to the Zoo.
@param animal { @link Animal } to add to the Zoo .