FileDocCategorySizeDatePackage
BeerExpert.javaAPI DocExample376Fri Mar 26 18:44:02 GMT 2004com.example.model

BeerExpert

public class BeerExpert extends Object

Fields Summary
Constructors Summary
Methods Summary
public java.util.ArrayListgetBrands(java.lang.String color)

    ArrayList brands = new ArrayList();
    if (color.equals("amber")) {
       brands.add("Jack Amber");
       brands.add("Red Moose"); 
    }
    else {
       brands.add("Jail Pale Ale");
       brands.add("Gout Stout");
    }
    return(brands);