Class Unit
java.lang.Object
org.drip.portfolioconstruction.optimizer.Unit
public class Unit
extends java.lang.Object
Unit specifies the Denomination of the Limits for a given Constraint Term.
- Module = Portfolio Core Module
- Library = Asset Allocation Analytics
- Project = Portfolio Construction under Allocation Constraints
- Package = Core Portfolio Construction Optimizer Suite
- Author:
- Lakshmi Krishnamurthy
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Unit(int denomination)
Unit Constructor -
Method Summary
Modifier and Type Method Description int
denomination()
Retrieve the Denomination of the UnitMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
PERCENT
public static final int PERCENTConstraint Unit - PERCENT- See Also:
- Constant Field Values
-
QUANTITY
public static final int QUANTITYConstraint Unit - QUANTITY- See Also:
- Constant Field Values
-
CURRENCY
public static final int CURRENCYConstraint Unit - CURRENCY- See Also:
- Constant Field Values
-
-
Constructor Details
-
Unit
public Unit(int denomination) throws java.lang.ExceptionUnit Constructor- Parameters:
denomination
- The Unit Denomination- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
denomination
public int denomination()Retrieve the Denomination of the Unit- Returns:
- The Denomination of the Unit
-