01: package jaxx.tools.jaxxcapture;
02:
03: import java.util.*;
04:
05: public abstract class AbstractContextNode implements ContextNode {
06: private List/*<ContextNode>*/arguments = new ArrayList/*<ContextNode>*/();
07:
08: public void addArgument(ContextNode node) {
09: arguments.add(node);
10: }
11:
12: public ContextNode[] getArguments() {
13: return (ContextNode[]) arguments
14: .toArray(new ContextNode[arguments.size()]);
15: }
16: }
|