575859606162636465666768
return descriptor; } public Unit getUnit(String name) { for (Iterator it = this.units.iterator(); it.hasNext();) { AbstractUnit u = (AbstractUnit) it.next(); if (u.getName().equals(name)) { return u; } } return null; }