code: public float[] ENgetlinkvalue( int index, LinkParameters param ) throws EpanetException {
          float[] value = new float[2];
          int errcode = epanet.ENgetlinkvalue(index, param.getCode(), value);
          checkError(errcode);
  
          return value;
      }
docs: Retrieves the value of a specific link parameter.
  
  @param index link index.
  @param param {@link LinkParameters}.
  @return the value.
  @throws EpanetException