Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Triple<T1, T2, T3>

A 3-tuple.
First type the tuple holds.Second type the tuple holds.Third type the tuple holds.

Type parameters

  • T1

  • T2

  • T3

Hierarchy

  • Triple

Index

Constructors

constructor

  • new Triple(item1: T1, item2: T2, item3: T3): Triple
  • Initializes a new instance of the fm.icelink.triple class.

    Parameters

    • item1: T1

      First item the tuple holds.

    • item2: T2

      Second item the tuple holds.

    • item3: T3

      Third item the tuple holds.

    Returns Triple

Properties

Private _item1

_item1: T1
internal

Private _item2

_item2: T2
internal

Private _item3

_item3: T3
internal

Methods

getItem1

  • getItem1(): T1
  • Gets the first item in the tuple.

    Returns T1

getItem2

  • getItem2(): T2
  • Gets the second item in the tuple.

    Returns T2

getItem3

  • getItem3(): T3
  • Gets the third item in the tuple.

    Returns T3

getTypeString

  • getTypeString(): string
  • Returns string

Private setItem1

  • setItem1(value: T1): void
  • internal

    Parameters

    • value: T1

    Returns void

Private setItem2

  • setItem2(value: T2): void
  • internal

    Parameters

    • value: T2

    Returns void

Private setItem3

  • setItem3(value: T3): void
  • internal

    Parameters

    • value: T3

    Returns void