class Concurrent::Tuple
def set(i, value)
-
(Object)- the new value of the element at the given index or nil if the index is out of bounds
Parameters:
-
value(Object) -- the value to set at the given index -
i(Integer) -- the index for the element to set
def set(i, value) return nil if i >= @size || i < 0 @tuple[i].set(value) end