setId method

void setId(
  1. int id
)

Sets the id of this chain. Useful for assigning an ordering to a set of chains, which can be used to avoid redundant processing.

@param id an id value

Implementation

void setId(int id) {
  this.id = id;
}