Methods
(static) reIndex() → {HashMap}
Internal. Applications should call this function
Creates a new HashMap with the same values as the original but increased indexes.
The keys are used as indexes and are assumed to be natural numbers.
Used by the PolygonSplitter.
- Source:
Returns:
a new has map with re-indexed keys
- Type
- HashMap
contains() → {Boolean}
Indicates if the has map contains a key
- Source:
Returns:
- Type
- Boolean
get()
Returns the stored value for this key or undefined
- Source:
Returns:
the value for the specified key or undefined
remove()
Removes the value and key for a specified key
- Source:
set(value)
Stores a value for a specified key
Parameters:
Name | Type | Description |
---|---|---|
value |
a value to store for the specified key |
- Source: