Package org.drip.service.api
Class CDXCOB
java.lang.Object
org.drip.service.api.CDXCOB
public class CDXCOB
extends java.lang.Object
CDXCOB contains the Name and the COB Price for a given CDX.
- Module = Computational Core Module
- Library = Computation Support
- Project = Environment, Product/Definition Containers, and Scenario/State Manipulation APIs
- Package = Horizon Roll Attribution Service API
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description CDXCOB(java.lang.String strCDXName, double dblPrice)
CDXCOB constructor -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CDXCOB
public CDXCOB(java.lang.String strCDXName, double dblPrice) throws java.lang.ExceptionCDXCOB constructor- Parameters:
strCDXName
- The CDX NamedblPrice
- The COB Price- Throws:
java.lang.Exception
- Thrown if the Inputs are invalid
-
-
Method Details
-
name
public java.lang.String name()The CDX Name- Returns:
- The CDX Name
-
price
public double price()The COB Price- Returns:
- The COB Price
-
display
public java.lang.String display()Display the CDXCOB Content- Returns:
- The CDXCOB Content
-