if (eos == null) throw new RuntimeException("ERXUtilites: localInstancesOfObjects: Array is null"); if (ec == null) throw new RuntimeException("ERXUtilites: localInstancesOfObjects: EditingContext is null"); NSMutableArray localEos = new NSMutableArray(); for (Enumeration e = eos.objectEnumerator(); e.hasMoreElements();) { localEos.addObject(localInstanceOfObject(ec, (EOEnterpriseObject)e.nextElement())); } return localEos;
return ERXEOControlUtilities.localInstancesOfObjects(ec, eos);
    public static NSArray localInstancesOfObjects(EOEditingContext ec, NSArray eos) {        if (eos == null)            throw new RuntimeException("ERXUtilites: localInstancesOfObjects: Array is null");        if (ec == null)            throw new RuntimeException("ERXUtilites: localInstancesOfObjects: EditingContext is null");        NSMutableArray localEos = new NSMutableArray();        for (Enumeration e = eos.objectEnumerator(); e.hasMoreElements();) {            localEos.addObject(localInstanceOfObject(ec, (EOEnterpriseObject)e.nextElement()));        }        return localEos;    }    