getBoundable method

Boundable getBoundable(
  1. int i
)

Gets one of the member {@link Boundable}s in the pair (indexed by 0, 1).

@param i the index of the member to return (0 or 1) @return the chosen member

Implementation

Boundable getBoundable(int i) {
  if (i == 0) return boundable1;
  return boundable2;
}