public int getInt(Object key) throws ClassCastException { return ((Integer) get(key)).intValue();
public int getInt(Object key) { try { return ((Integer) get(key)).intValue(); } catch (ClassCastException e) { throw new IllegalArgumentException("value to key is not int or wasn's setted with putInt"); }
    public int getInt(Object key) throws ClassCastException {        return ((Integer) get(key)).intValue();    }