@SafeVarargs
    public static Map<String, AttributeValueUpdate> asUpdateItem(Object... a) {
        if (0 != (a.length % 2)) {
            throw new IllegalArgumentException(
                    "The parameters must be the pairs of property name and value, or Map, or an entity class with getter/setter methods.");
        }

        final Map<String, AttributeValueUpdate> item = new LinkedHashMap<>(N.initHashCapacity(a.length / 2));

        for (int i = 0; i < a.length; i++) {
            item.put((String) a[i], attrValueUpdateOf(a[++i]));
        }

        return item;
    }
@ SafeVarargs public static Map < String , AttributeValueUpdate > asUpdateItem ( Object ... a ) { if ( 0 != ( a . length % 2 ) ) { throw new IllegalArgumentException ( "The parameters must be the pairs of property name and value, or Map, or an entity class with getter/setter methods." ) ; } final Map < String , AttributeValueUpdate > item = new LinkedHashMap < > ( N . initHashCapacity ( a . length / 2 ) ) ; for ( int i = 0 ; i < a . length ; i ++ ) { item . put ( ( String ) a [ i ] , attrValueUpdateOf ( a [ ++ i ] ) ) ; } return item ; }
May misused with toUpdateItem