t = images.size();
for (t = 0; images.get(Integer.toString(t)) != null; ++t) {}
    public int addImage(Image image) {        int t;        if ((t = Integer.parseInt((String)queryImageId(image))) >= 0) {            return t;        } else {            t = images.size();            addImage(image, Integer.toString(t));            return t;        }    }