Package org.drip.service.scenario
Class NamedFieldMap
java.lang.Object
org.drip.service.scenario.NamedFieldMap
public class NamedFieldMap
extends java.lang.Object
NamedFieldMap holds a Double Map of Field Values and their Name.
- 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 NamedFieldMap(java.lang.String strName, java.util.Map<java.lang.String,java.lang.Double> mapValue)
NamedFieldMap Constructor -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
NamedFieldMap
public NamedFieldMap(java.lang.String strName, java.util.Map<java.lang.String,java.lang.Double> mapValue) throws java.lang.ExceptionNamedFieldMap Constructor- Parameters:
strName
- Field NamemapValue
- Field Value Map- 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 java.util.Map<java.lang.String,java.lang.Double> value()Retrieve the Field Value Map- Returns:
- The Field Value Map
-