return (Image) pair[0];
return i;
    public synchronized Image getBase(IHex hex, JComponent comp) {        Object[] pair = (Object[]) hexToImageCache.get(hex);        if (pair == null) {            pair = assignMatch(hex, comp);        }        return (Image) pair[0];    }