int userID, List images)
List images)
    public static List fillListAnnotatedImages(Dataset dataset,                                          ImageSummary iProto, List annotations,                                          int userID, List images)    {        Iterator i = dataset.getImages().iterator();        Image image;        ImageSummary is;        int id;        Map ids = AnnotationMapper.reverseListImageAnnotations(annotations,                                                                 userID);        while (i.hasNext()) {            image = (Image) i.next();            //Make a new DataObject and fill it up.            is = (ImageSummary) iProto.makeNew();            id = image.getID();            is.setAnnotation(AnnotationMapper.fillImageAnnotation(                    (ImageAnnotation) ids.get(new Integer(id))));            is.setID(id);            is.setName(image.getName());            is.setDate(PrimitiveTypesMapper.getTimestamp(image.getCreated()));            is.setPixelsIDs(fillListPixelsID(image));            is.setDefaultPixels(fillDefaultPixels(image.getDefaultPixels()));            //Add the image summary object to the list.            images.add(is);        }        return images;    }