public static BigFraction parseEditRate(List<Long> editRate){
  if (editRate.size() != 2) {
    throw new ConversionHelperException("Incorrect edit rate! Edit rate must consist of two values.");
  }
  return new BigFraction(editRate.get(0),editRate.get(1));
}

public static BigFraction parseEditRate ( List < Long > editRate ) { if ( editRate . size ( ) != 2 ) { throw new ConversionHelperException ( "Incorrect edit rate! Edit rate must consist of two values." ) ; } return new BigFraction ( editRate . get ( 0 ) , editRate . get ( 1 ) ) ; }
returns a fraction corresponding to the given edit rate string . the edit rate is assumed to be a list containing of two elements : numerator and denominator .
