code: public int maxComponent() {
          int absX = Math.abs(x);
          int absY = Math.abs(y);
          int absZ = Math.abs(z);
          int absW = Math.abs(w);
          if (absX >= absY && absX >= absZ && absX >= absW) {
              return 0;
          } else if (absY >= absZ && absY >= absW) {
              return 1;
          } else if (absZ >= absW) {
              return 2;
          }
          return 3;
      }
docs: /* (non-Javadoc)
  @see org.joml.Vector4ic#maxComponent()