[near-runtime-ts](../README.md) > ["collections/index"](../modules/_collections_index_.md) > [collections](../modules/_collections_index_.collections.md) > [MapEntry](../classes/_collections_index_.collections.mapentry.md)

# Class: MapEntry

Helper class to store key->value pairs.

## Type parameters
#### K 
#### V 
## Hierarchy

**MapEntry**

## Index

### Constructors

* [constructor](_collections_index_.collections.mapentry.md#constructor)

### Properties

* [key](_collections_index_.collections.mapentry.md#key)
* [value](_collections_index_.collections.mapentry.md#value)

---

## Constructors

<a id="constructor"></a>

###  constructor

⊕ **new MapEntry**(key: *`K`*, value: *`V`*): [MapEntry](_collections_index_.collections.mapentry.md)

*Defined in [collections/index.ts:15](https://github.com/nearprotocol/near-runtime-ts/blob/6995971/assembly/collections/index.ts#L15)*

**Parameters:**

| Name | Type |
| ------ | ------ |
| key | `K` |
| value | `V` |

**Returns:** [MapEntry](_collections_index_.collections.mapentry.md)

___

## Properties

<a id="key"></a>

###  key

**● key**: *`K`*

*Defined in [collections/index.ts:17](https://github.com/nearprotocol/near-runtime-ts/blob/6995971/assembly/collections/index.ts#L17)*

___
<a id="value"></a>

###  value

**● value**: *`V`*

*Defined in [collections/index.ts:18](https://github.com/nearprotocol/near-runtime-ts/blob/6995971/assembly/collections/index.ts#L18)*

___

