Skip to content

API / geotoolkit / util / Hashtable / Hashtable

Class: Hashtable

util.Hashtable.Hashtable

Hashtable

Deprecated

since 4.0. Use built-in Map instead.

Table of contents

Constructors
  • [new Hashtable(hashingFunctionParam, equalityFunctionParam)](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.util.hashtable.hashtable.md#new hashtable(hashingfunctionparam, equalityfunctionparam))
Properties

Contents

Constructors

new Hashtable(hashingFunctionParam, equalityFunctionParam)

• new Hashtable(hashingFunctionParam?, equalityFunctionParam?)

Parameters

Name Type Description
Optional hashingFunctionParamFunctionhashingFunctionParam
Optional equalityFunctionParamFunctionequalityFunctionParam
Properties

clear

• clear: () => void

Type declaration

▸ (): void

Returns

void


clone

• clone: () => Hashtable

Type declaration

▸ (): Hashtable

Returns

Hashtable


containsKey

• containsKey: (key: any) => any

Type declaration

▸ (key): any

Parameters
Name Type
keyany
Returns

any


containsValue

• containsValue: (value: any) => boolean

Type declaration

▸ (value): boolean

Parameters
Name Type
valueany
Returns

boolean


each

• each: (callback: any) => void

Type declaration

▸ (callback): void

Parameters
Name Type
callbackany
Returns

void


entries

• entries: Function


get

• get: (key: any) => any

Type declaration

▸ (key): any

Parameters
Name Type
keyany
Returns

any


isEmpty

• isEmpty: () => boolean

Type declaration

▸ (): boolean

Returns

boolean


keys

• keys: () => any[]

Type declaration

▸ (): any[]

Returns

any[]


put

• put: (key: any, value: any) => any

Type declaration

▸ (key, value): any

Parameters
Name Type
keyany
valueany
Returns

any


putAll

• putAll: (hashtable: any, conflictCallback: any) => void

Type declaration

▸ (hashtable, conflictCallback): void

Parameters
Name Type
hashtableany
conflictCallbackany
Returns

void


remove

• remove: (key: any) => any

Type declaration

▸ (key): any

Parameters
Name Type
keyany
Returns

any


size

• size: () => number

Type declaration

▸ (): number

Returns

number


values

• values: () => any[]

Type declaration

▸ (): any[]

Returns

any[]