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.



Author:
Lakshmi Krishnamurthy
  • Field Summary

    Fields
    Modifier and Type Field Description
    static int CURRENCY
    Constraint Unit - CURRENCY
    static int PERCENT
    Constraint Unit - PERCENT
    static int QUANTITY
    Constraint Unit - QUANTITY
  • Constructor Summary

    Constructors
    Constructor Description
    Unit​(int denomination)
    Unit Constructor
  • Method Summary

    Modifier and Type Method Description
    int denomination()
    Retrieve the Denomination of the Unit

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • Unit

      public Unit​(int denomination) throws java.lang.Exception
      Unit 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