Home > @magiclane/maps-sdk > Pair

Pair class

A pair consisting of 2 objects

Signature:

export declare class Pair<T1, T2> 

Constructors

Constructor

Modifiers

Description

(constructor)(first, second)

Constructs a new instance of the Pair class

Properties

Property

Modifiers

Type

Description

first

T1

second

T2

Methods

Method

Modifiers

Description

equals(other)

hashCode()

toJson()