Set the value of the field name of the Java object obj to val.
For static fields, obj can be a string representing the fully qualified named of the corresponding Java class.
When obj is a regular Java object, structure-like indexing can be used as a shortcut syntax. For instance, the following two statements are equivalent
java_set (x, "field1", val) x.field1 = val
See also: java_get, javaMethod, javaObject.
Package: octave