docs: public void set(int i, double value) {
          switch (i) {
              case 0: {
                  x = value;
                  break;
              }
              case 1: {
                  y = value;
                  break;
              }
              case 2: {
                  z = value;
                  break;
              }
              default: {
                  throw new ArrayIndexOutOfBoundsException(i);
              }
          }
      }