public synchronized List getSupers(IHex hex, Component comp) { Object[] pair = (Object[])hexToImageCache.get(hex); if (pair == null) { pair = assignMatch(hex, comp);
public synchronized List<Image> getSupers(IHex hex, Component comp) { List<Image> l = hexToImageListCache.get(hex); if (l == null) { Object[] pair = assignMatch(hex, comp); return (List<Image>) pair[1];
    public synchronized List getSupers(IHex hex, Component comp) {        Object[] pair = (Object[])hexToImageCache.get(hex);        if (pair == null) {          pair = assignMatch(hex, comp);        }        return (List) pair[1];    }