01: /*
02: * Created on Aug 17, 2005
03: */
04: package uk.org.ponder.rsf.template;
05:
06: import java.util.ArrayList;
07:
08: public class XMLLumpList extends ArrayList {
09: public XMLLump lumpAt(int i) {
10: return (XMLLump) get(i);
11: }
12:
13: public XMLLump top() {
14: int size = size();
15: return size == 0 ? null : lumpAt(size - 1);
16: }
17: }
|