Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Pool

Index

Constructors

constructor

  • Returns Pool

Properties

Private _data

_data: Map<string, Issuer> = new Map()

Private _defaultKeys

_defaultKeys: Map<string, DefaultProbKey> = new Map()

Private _names

_names: string[]

Private _time

_time: Map<string, Time> = new Map()

Methods

add

  • Parameters

    • name: string
    • issuer: Issuer
    • Default value contractTrigger: DefaultProbKey = new NorthAmericaCorpDefaultKey(new Currency(), Seniority.SeniorSec, new Period(), 1.)

    Returns void

clear

  • clear(): void
  • Returns void

defaultKey

  • Parameters

    • name: string

    Returns DefaultProbKey

defaultKeys

  • Returns DefaultProbKey[]

get

  • Parameters

    • name: string

    Returns Issuer

getTime

  • getTime(name: string): Time
  • Parameters

    • name: string

    Returns Time

has

  • has(name: string): boolean
  • Parameters

    • name: string

    Returns boolean

names

  • names(): string[]
  • Returns string[]

setTime

  • setTime(name: string, time: Time): void
  • Parameters

    • name: string
    • time: Time

    Returns void

size

  • Returns Size