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. It provides the following
Functionality:
- NamedFieldMap Constructor
- Retrieve the Field Name
- Retrieve the Field Value Map
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 name, java.util.Map<java.lang.String,java.lang.Double> value)
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 name, java.util.Map<java.lang.String,java.lang.Double> value) throws java.lang.ExceptionNamedFieldMap Constructor- Parameters:
name
- Field Namevalue
- 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
-