public static Rational sAdd(Rational a, Rational b) {
    long cPtr = VideoJNI.Rational_sAdd(Rational.getCPtr(a), a, Rational.getCPtr(b), b);
    return (cPtr == 0) ? null : new Rational(cPtr, false);
  }
public static Rational sAdd(Rational a, Rational b) {
    long cPtr = VideoJNI.Rational_sAdd(Rational.getCPtr(a), a, Rational.getCPtr(b), b);
    return (cPtr == 0) ? null : new Rational(cPtr, false);
  }
public static Rational sAdd ( Rational a , Rational b ) { long cPtr = VideoJNI . Rational_sAdd ( Rational . getCPtr ( a ) , a , Rational . getCPtr ( b ) , b ) ; return ( cPtr == 0 ) ? null : new Rational ( cPtr , false ) ; }
Adds a to b.<br>
@param a The first number.<br>
b The second number.<br>
@return a+b.
Adds a to b . <br >