public void setAll(DefineList other) {
        for (int i = 0; i < other.values.length; i++) {
            if (other.isSet(i)) {
                set(i, other.getInt(i));
            }
        }
    }
The new define list.

@author Kirill Vainer
jme3-core/src/main/java/com/jme3/shader/DefineList.java