public static int sCompareTo(Rational a, Rational b) {
    return VideoJNI.Rational_sCompareTo(Rational.getCPtr(a), a, Rational.getCPtr(b), b);
  }
public static int sCompareTo(Rational a, Rational b) {
    return VideoJNI.Rational_sCompareTo(Rational.getCPtr(a), a, Rational.getCPtr(b), b);
  }
public static int sCompareTo ( Rational a , Rational b ) { return VideoJNI . Rational_sCompareTo ( Rational . getCPtr ( a ) , a , Rational . getCPtr ( b ) , b ) ; }
Compare two rationals<br>
@param a the first rational<br>
@param b the second rational<br>
@return 0 if a==b, 1 if a&gt;b and -1 if b&lt;a.
Compare two rationals<br >