Class RegionDigramContext

java.lang.Object
org.drip.capital.shell.RegionDigramContext

public class RegionDigramContext
extends java.lang.Object
RegionDigramContext maintains the Loaded Region Digram Mapping. The References are:

  • Bank for International Supervision(2005): Stress Testing at Major Financial Institutions: Survey Results and Practice https://www.bis.org/publ/cgfs24.htm
  • Glasserman, P. (2004): Monte Carlo Methods in Financial Engineering Springer
  • Kupiec, P. H. (2000): Stress Tests and Risk Capital Risk 2 (4) 27-39


Author:
Lakshmi Krishnamurthy
  • Constructor Summary

    Constructors
    Constructor Description
    RegionDigramContext​(java.util.Map<java.lang.String,​java.lang.String> regionDigramMap)
    RegionDigramContext Constructor
  • Method Summary

    Modifier and Type Method Description
    boolean containsDigram​(java.lang.String digram)
    Check for the Existence of the Region Digram
    java.lang.String region​(java.lang.String digram)
    Retrieve the Region corresponding to the Digram
    java.util.Map<java.lang.String,​java.lang.String> regionDigramMap()
    Retrieve the Region Digram Map

    Methods inherited from class java.lang.Object

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

    • RegionDigramContext

      public RegionDigramContext​(java.util.Map<java.lang.String,​java.lang.String> regionDigramMap) throws java.lang.Exception
      RegionDigramContext Constructor
      Parameters:
      regionDigramMap - Region Digram Map
      Throws:
      java.lang.Exception - Thrown if the Inputs are Invalid
  • Method Details

    • containsDigram

      public boolean containsDigram​(java.lang.String digram)
      Check for the Existence of the Region Digram
      Parameters:
      digram - Region Digram
      Returns:
      TRUE - The Region Digram exists
    • region

      public java.lang.String region​(java.lang.String digram)
      Retrieve the Region corresponding to the Digram
      Parameters:
      digram - The Digram
      Returns:
      Region corresponding to the Digram
    • regionDigramMap

      public java.util.Map<java.lang.String,​java.lang.String> regionDigramMap()
      Retrieve the Region Digram Map
      Returns:
      The Region Digram Map