Home Reference Source Repository
import {EnumMap} from 'js-joda/src/format/EnumMap.js'
public class | source

EnumMap

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public

clear()

public

containsKey(key: *): *

public

get(key: *): *

public

keySet(): *

public

put(key: *, val: *): *

public

putAll(otherMap: *): *

public

remove(key: *): *

due to the bad performance of delete we just set the key entry to undefined.

public

retainAll(keyList: *): *

public

set(key: *, val: *): *

Public Constructors

public constructor() source

Public Methods

public clear() source

public containsKey(key: *): * source

Params:

NameTypeAttributeDescription
key *

Return:

*

public get(key: *): * source

Params:

NameTypeAttributeDescription
key *

Return:

*

public keySet(): * source

Return:

*

public put(key: *, val: *): * source

Params:

NameTypeAttributeDescription
key *
val *

Return:

*

public putAll(otherMap: *): * source

Params:

NameTypeAttributeDescription
otherMap *

Return:

*

public remove(key: *): * source

due to the bad performance of delete we just set the key entry to undefined.

this might lead to issues with "null" entries. Calling clear in the end might solve the issue

Params:

NameTypeAttributeDescription
key *

Return:

*

public retainAll(keyList: *): * source

Params:

NameTypeAttributeDescription
keyList *

Return:

*

public set(key: *, val: *): * source

Params:

NameTypeAttributeDescription
key *
val *

Return:

*