year_2020/src/main/java/nl/mwensveen/adventofcode/year_2020/day_21/AllergenInput.java
public Builder withAllergens(Allergen... allergens) {
            if (allergens == null) {
                throw new IllegalArgumentException("allergens is null");
            }
            this.allergens = new ArrayList<>();
            Collections.addAll(this.allergens, allergens);
            return this;
        }
/**
         * Sets the {@link #allergens} property of this builder
         *
         * @param allergens
         * @return this builder
         * @throws IllegalArgumentException if allergens is null or contains a null element
         */
Sets the  #allergens property of this builder
@param allergens
@return this builder
@throws IllegalArgumentException if allergens is null or contains a null element
Sets the #allergens property of this builder @param allergens @return this builder @throws IllegalArgumentException if allergens is null or contains a null element
public Builder withAllergens(Allergen... allergens) {
            if (allergens == null) {
                throw new IllegalArgumentException("allergens is null");
            }
            this.allergens = new ArrayList<>();
            Collections.addAll(this.allergens, allergens);
            return this;
        }
public Builder withAllergens ( Allergen ... allergens ) { if ( allergens == null ) { throw new IllegalArgumentException ( "allergens is null" ) ; } this . allergens = new ArrayList < > ( ) ; Collections . addAll ( this . allergens , allergens ) ; return this ; }
Sets the {@link #allergens} property of this builder
 @param allergens
 @return this builder
 @throws IllegalArgumentException if allergens is null or contains a null element
Sets the { @link #allergens } property of this builder @param allergens @return this builder @throws IllegalArgumentException if allergens is null or contains a null element