@SuppressWarnings("unchecked")
    public EasyHashMap(Object... values) {
        if (values.length % 2 != 0) {
            throw new InvalidArgumentException("Value count must be even");
        }
        boolean first = true;
        T saved = null;
        for (Object value : values) {
            if (first) {
                first = false;
                saved = (T) value;
            } else {
                first = true;
                this.put(saved, (U) value);
                saved = null;
            }
        }
    }