package cpup.poke4j;

public class Buffer {
	protected final Poke poke;

	public Buffer(Poke _poke) {
		poke = _poke;
	}

	// Getters and Setters
	public Poke getPoke() {
		return poke;
	}
}
@@ -15,16 +15,42 @@
 oke4j;%0A%0A
+import java.util.Vector;%0A%0A
 public c
@@ -95,52 +95,202 @@
 ke;%0A
-%0A%09public Buffer(Poke _poke) %7B%0A%09%09poke = _poke
+%09protected final Vector%3CString%3E lines;%0A%0A%09public Buffer(Poke _poke, Vector%3CString%3E _lines) %7B%0A%09%09poke = _poke;%0A%09%09lines = _lines;%0A%09%7D%0A%0A%09public Buffer(Poke _poke) %7B%0A%09%09this(_poke, new Vector%3CString%3E())
 ;%0A%09%7D
@@ -357,10 +357,66 @@
 poke;%0A%09%7D
+%0A%0A%09public Vector%3CString%3E getLines() %7B%0A%09%09return lines;%0A%09%7D
 %0A%7D

Add lines to Buffer