IntMap
haxe.ds.IntMap (Class)
Implements: haxe.IMap
IntMap allows mapping of Int keys to arbitrary values.
See Map for documentation details.
See: https://haxe.org/manual/std-Map.html
Instance Members
See Map.set
| Name | Type |
|---|---|
key |
Int |
value |
haxe.ds.IntMap.T |
See Map.get
| Name | Type |
|---|---|
key |
Int |
| Returns |
|---|
| Null<haxe.ds.IntMap.T> |
See Map.exists
| Name | Type |
|---|---|
key |
Int |
| Returns |
|---|
| Bool |
See Map.remove
| Name | Type |
|---|---|
key |
Int |
| Returns |
|---|
| Bool |
keys(): IteratorSee Map.keys
(cs, java) Implementation detail: Do not set() any new value while
iterating, as it may cause a resize, which will break iteration.
| Returns |
|---|
| Iterator |
iterator(): IteratorSee Map.iterator
(cs, java) Implementation detail: Do not set() any new value while
iterating, as it may cause a resize, which will break iteration.
| Returns |
|---|
| Iterator |
keyValueIterator(): KeyValueIteratorSee Map.keyValueIterator
| Returns |
|---|
| KeyValueIterator |
copy(): IntMap<haxe.ds.IntMap.T>See Map.copy
| Returns |
|---|
| IntMap<haxe.ds.IntMap.T> |
clear(): VoidSee Map.clear
new(): VoidCreates a new IntMap.
Private Members
flags: cs.NativeArray<Int>vals: cs.NativeArray<haxe.ds.IntMap.T>nBuckets: Intsize: IntnOccupied: IntupperBound: IntcachedKey: IntcachedIndex: IntarrayCopy(sourceArray: cs.system.Array, sourceIndex: Int, destinationArray: cs.system.Array, destinationIndex: Int, length: Int): Void| Name | Type |
|---|---|
sourceArray |
cs.system.Array |
sourceIndex |
Int |
destinationArray |
cs.system.Array |
destinationIndex |
Int |
length |
Int |
| Name | Type |
|---|---|
k |
Int |
mask |
Int |
| Returns |
|---|
| Int |
| Name | Type |
|---|---|
i |
Int |
| Returns |
|---|
| Int |
getFlag(flags: cs.NativeArray<Int>, i: Int): Int| Name | Type |
|---|---|
flags |
cs.NativeArray<Int> |
i |
Int |
| Returns |
|---|
| Int |
| Name | Type |
|---|---|
flag |
Int |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
flag |
Int |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
flag |
Int |
| Returns |
|---|
| Bool |
setIsEmptyFalse(flags: cs.NativeArray<Int>, i: Int): Void| Name | Type |
|---|---|
flags |
cs.NativeArray<Int> |
i |
Int |
setIsBothFalse(flags: cs.NativeArray<Int>, i: Int): Void| Name | Type |
|---|---|
flags |
cs.NativeArray<Int> |
i |
Int |
setIsDelTrue(flags: cs.NativeArray<Int>, i: Int): Void| Name | Type |
|---|---|
flags |
cs.NativeArray<Int> |
i |
Int |
| Name | Type |
|---|---|
x |
Int |
| Returns |
|---|
| Int |
| Name | Type |
|---|---|
m |
Int |
| Returns |
|---|
| Int |
| Name | Type |
|---|---|
key |
Int |
| Returns |
|---|
| Int |
| Name | Type |
|---|---|
newNBuckets |
Int |
Metadata
| Name | Parameters |
|---|---|
:hxGen |
- |