@ NonNull @ Override public MutableArray setValue ( int index , Object value ) { synchronized ( lock ) { if ( Fleece . valueWouldChange ( value , internalArray . get ( index ) , internalArray ) && ( ! internalArray . set ( index , Fleece . toCBLObject ( value ) ) ) ) { throwRangeException ( index ) ; } return this ; } }
Set an object at the given index .