public Vector getLoadedUnits() { Vector result = new Vector();
public Vector<Entity> getLoadedUnits() { Vector<Entity> result = new Vector<Entity>();
    public Vector getLoadedUnits() {        Vector result = new Vector();        // Walk through this entity's transport components;        // add all of their lists to ours.        Enumeration iter = this.transports.elements();        while ( iter.hasMoreElements() ) {            Transporter next = (Transporter)iter.nextElement();            for (Enumeration i = next.getLoadedUnits().elements(); i.hasMoreElements();) {                result.addElement(i.nextElement());            }        }        // Return the list.        return result;    }