Class Credit
- java.lang.Object
-
- org.apache.ignite.examples.computegrid.montecarlo.Credit
-
- All Implemented Interfaces:
java.io.Serializable
public class Credit extends java.lang.Object implements java.io.SerializableThis class provides a simple model for a credit contract (or a loan). It is basically defines as remaining crediting amount to date, credit remaining term, APR and annual probability on default. Although this model is simplified for the purpose of this example, it is close enough to emulate the real-life credit risk assessment application.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Credit(double remAmnt, int remTerm, double apr, double edf)Creates new credit instance with given information.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()
-
-
-
Constructor Detail
-
Credit
public Credit(double remAmnt, int remTerm, double apr, double edf)Creates new credit instance with given information.- Parameters:
remAmnt- Remained crediting amount.remTerm- Remained crediting remTerm.apr- Annual percentage rate (APR).edf- Expected annual probability of default (EaDF).
-
-