append_values


Description:

[ Version ( since = "8.0.0" ) ]
public bool append_values (MonthDayNano[] values, bool[]? is_valids) throws Error

Append multiple values at once.

It's more efficient than multiple `append` calls.

Parameters:

this

A MonthDayNanoIntervalArrayBuilder.

values

The array of a MonthDayNano.

is_valids

The array of boolean that shows whether the Nth value is valid or not. If the Nth `is_valids` is true , the Nth `values` is valid value. Otherwise the Nth value is null value.

is_valids_length

The length of `is_valids`.

values_length

The length of `values`.

Returns:

true on success, false if there was an error.