edu.toronto.cs.tp.cvcl
Class Rational
java.lang.Object
edu.toronto.cs.tp.cvcl.Rational
public class Rational
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
swigCMemOwn
protected boolean swigCMemOwn
Rational
protected Rational(long cPtr,
boolean cMemoryOwn)
Rational
public Rational()
Rational
public Rational(Rational n)
Rational
public Rational(int n,
int d)
delete
public void delete()
getCPtr
protected static long getCPtr(Rational obj)
getNumerator
public Rational getNumerator()
getDenominator
public Rational getDenominator()
isInteger
public boolean isInteger()
getInt
public int getInt()