package com.sitdh.master.eaa.main;

import java.util.Vector;

public class A3CoffeeMenu {
	
	private Vector<B3Coffee> coffeeList;
	
	public A3CoffeeMenu() {
		coffeeList = new Vector<B3Coffee>();
	}
	
	public void addCoffee(B3Coffee coffee) {
		coffeeList.addElement(coffee);
	}
	
	public Vector<B3Coffee> getCoffeeList() {
		return coffeeList;
	}

}

@@ -33,34 +33,8 @@
 n;%0A%0A
-import java.util.Vector;%0A%0A
 publ
@@ -68,32 +68,24 @@
 private 
-Vector%3CB3Coffee%3E
+String%5B%5D
  coffeeL
@@ -139,142 +139,291 @@
 new 
-Vector%3CB3Coffee%3E();%0A%09%7D%0A%09%0A%09public void addCoffee(B3Coffee coffee
+String%5B%5D%7B%22Espresso,Small,2.40%22, %22Espresso,Tall,3.00%22, %22Hot Latte,Small,3.00%22, %22Hot Latte,Tall, 3.50%22%7D;%0A%09%7D%0A%09%0A%09public String%5B%5D getCoffeeList() %7B%0A%09%09return coffeeList;%0A%09%7D%0A%09%0A%09public void displayMenu(
 ) %7B%0A%09%09
-c
+B3C
 offee
-List.addElement(coffee
+Detail coffeeDetail = new B3CoffeeDetail(
 );%0A%09
-%7D%0A
 %09%0A%09
-public Vector%3CB3Coffee%3E getC
+%09for(String coffee : this.c
 offe
@@ -431,33 +431,50 @@
 List
-(
 ) %7B%0A%09%09
-return coffeeList;
+%09coffeeDetail.printMenu(coffee);%0A%09%09%7D
 %0A%09%7D%0A

Remove misunderstood code