/* C */ int32_t sidl_int__array_set1(const struct sidl_int__array* array, int32_t i1, int32_t value)); // C++ int32_t sidl::array<int32_t>::set(int32_t i1, int32_t value); C FORTRAN 77 subroutine sidl_int__array_set1_f(array, i1, value) integer*8 array integer*4 i1, value ! FORTRAN 90 subroutine set(array, i1, value) type(sidl_int_1d), intent(in) :: array integer (selected_int_kind(9)), intent(in) :: i1, value // Java public void set(int i, int value) {
This method sets the value in index i1 of a one dimensional array to value. The type of the argument value is the value type for the SIDL type being held (see Table 5.2). This method must only be called for one dimensional arrays. For arrays of objects and interfaces, the array will make its own reference by calling addRef() on value, so the client retains its reference to value. For arrays of strings, the array will make a copy of the string, so the client retains ownership of the value pointer.