Code example for Vector

Methods: addElement

0
    public FlowList() { 
	_elements = null;
    } 
 
    public FlowList(InstructionHandle bh) {
	_elements = new Vector();
	_elements.addElement(bh);
    } 
 
    public FlowList(FlowList list) {
	_elements = list._elements;
    } 
 
    public FlowList add(InstructionHandle bh) {
	if (_elements == null) {
	    _elements = new Vector();
	} 
	_elements.addElement(bh);
	return this;
    }