set

public final Unit set(Integer idx, Boolean value)

Sets the value at position idx.