com.motlin.risk.odds
Class FractionFactory

java.lang.Object
  extended by com.motlin.risk.odds.FractionFactory
All Implemented Interfaces:
ProbabilityFactory<Fraction>

public final class FractionFactory
extends Object
implements ProbabilityFactory<Fraction>


Constructor Summary
FractionFactory()
           
 
Method Summary
 Fraction create(long numerator, long denominator)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FractionFactory

public FractionFactory()
Method Detail

create

public Fraction create(long numerator,
                       long denominator)
Specified by:
create in interface ProbabilityFactory<Fraction>