IntFloatMap
ceramic.IntFloatMap (Class)
Fallback implementation of IntFloatMap for non-C++/C# targets. Uses standard Map internally with additional tracking for iteration.
Instance Members
When this map is marked as iterable, this array will contain every key. Only populated if iterable was set to true in constructor.
size: Int
The number of entries in the map.
clear(): Void
Name | Type |
---|---|
key |
Int |
Returns |
---|
Bool |
Name | Type |
---|---|
key |
Int |
value |
Float |
Returns |
---|
Float |
Name | Type |
---|---|
key |
Int |
Returns |
---|
Float |
Name | Type |
---|---|
key |
Int |
Returns |
---|
Float |
Name | Type |
---|---|
key |
Int |
Returns |
---|
Float |
Name | Type |
---|---|
key |
Int |
Returns |
---|
Bool |
copy(): IntFloatMap
Returns |
---|
IntFloatMap |
iterator(): IntFloatMapIterator
Returns |
---|
IntFloatMapIterator |
keys(): IntFloatMapKeyIterator
Returns |
---|
IntFloatMapKeyIterator |
keyValueIterator(): IntFloatMapKeyValueIterator
Returns |
---|
IntFloatMapKeyValueIterator |
Name | Type | Default |
---|---|---|
size |
Int | 16 |
fillFactor |
Float | 0.5 |
iterable |
Bool | false |
Private Members
intMap: Map
Backing map for storing key-value pairs.
iterableKeysUsed: IntBoolMap
Tracks which keys are in iterableKeys to avoid duplicates