Package org.drip.service.scenario
Class NamedField
java.lang.Object
org.drip.service.scenario.NamedField
public class NamedField
extends java.lang.Object
NamedField holds a Double Field Name and Value.
- Module = Computational Core Module
- Library = Computation Support
- Project = Environment, Product/Definition Containers, and Scenario/State Manipulation APIs
- Package = Custom Scenario Service Metric Generator
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description NamedField(java.lang.String strName, double dblValue)
NamedField Constructor -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
NamedField
public NamedField(java.lang.String strName, double dblValue) throws java.lang.ExceptionNamedField Constructor- Parameters:
strName
- Field NamedblValue
- Field Value- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
name
public java.lang.String name()Retrieve the Field Name- Returns:
- The Field Name
-
value
public double value()Retrieve the Field Value- Returns:
- The Field Value
-