public class WorkoutInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
WO_TYPE_CALL
Work out type Call
|
static int |
WO_TYPE_MATURITY
Work out type Maturity
|
static int |
WO_TYPE_PUT
Work out type Put
|
Constructor and Description |
---|
WorkoutInfo(int iDate,
double dblYield,
double dblExerciseFactor,
int iWOType)
Constructor: Construct the class from the work-out date, yield, exercise factor, and type
|
Modifier and Type | Method and Description |
---|---|
int |
date()
Retrieve the Work-out Date
|
double |
factor()
Retrieve the Work-out Factor
|
int |
type()
Retrieve the Work-out Type
|
double |
yield()
Retrieve the Work-out Yield
|
public static final int WO_TYPE_CALL
public static final int WO_TYPE_PUT
public static final int WO_TYPE_MATURITY
public WorkoutInfo(int iDate, double dblYield, double dblExerciseFactor, int iWOType) throws java.lang.Exception
iDate
- Work-out DatedblYield
- Work-out YielddblExerciseFactor
- Work-out FactoriWOType
- Work out Typejava.lang.Exception
- Thrown if input is invalidpublic int date()
public double yield()
public double factor()
public int type()