Platforms to show: All Mac Windows Linux Cross-Platform
Back to IntegerToIntegerHashMapMBS class.
IntegerToIntegerHashMapMBS.AddKeys(targetArray() as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 12.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
For older Xojo version 2007/2008 where the plugin can't create an array, so the values and keys function returns always nil.
IntegerToIntegerHashMapMBS.AddValues(targetArray() as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 12.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
For older Xojo version 2007/2008 where the plugin can't create an array, so the values and keys function returns always nil.
IntegerToIntegerHashMapMBS.Clear
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
IntegerToIntegerHashMapMBS.Clone as IntegerToIntegerHashMapMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 12.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
IntegerToIntegerHashMapMBS.CloneDictionary as Dictionary
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 12.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
IntegerToIntegerHashMapMBS.Constructor
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
IntegerToIntegerHashMapMBS.Constructor(dic as dictionary)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 12.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
IntegerToIntegerHashMapMBS.Constructor(other as IntegerToIntegerHashMapMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 12.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
IntegerToIntegerHashMapMBS.CountKey(key as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
IntegerToIntegerHashMapMBS.find(key as Integer) as IntegerToIntegerHashMapIteratorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns the same value as the last method if the item was not found.
IntegerToIntegerHashMapMBS.first as IntegerToIntegerHashMapIteratorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
IntegerToIntegerHashMapMBS.hasKey(key as Integer) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
IntegerToIntegerHashMapMBS.Key(index as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If there is no Indexth item in the map, a call generates an OutOfBoundsException error. The first item has the index zero.
IntegerToIntegerHashMapMBS.Keys as Integer()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The order is stable and matches the order returned by the Values method at least until the Dictionary is modified. Use this method with For Each to loop through all the keys.
IntegerToIntegerHashMapMBS.last as IntegerToIntegerHashMapIteratorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
IntegerToIntegerHashMapMBS.lookup(key as Integer, defaultvalue as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If Key is found, it returns the corresponding value. If Key is not found, it returns the passed defaultValue.
IntegerToIntegerHashMapMBS.Operator_Convert as Dictionary
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 12.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
IntegerToIntegerHashMapMBS.Remove(first as IntegerToIntegerHashMapIteratorMBS, last as IntegerToIntegerHashMapIteratorMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
IntegerToIntegerHashMapMBS.Remove(key as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
IntegerToIntegerHashMapMBS.Remove(pos as IntegerToIntegerHashMapIteratorMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
IntegerToIntegerHashMapMBS.value(key as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If you query for a key which does not exist, a KeyNotFoundException is raised.
(Read and Write computed property)
IntegerToIntegerHashMapMBS.ValueAtIndex(index as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If there is no Indexth item in the map, a call generates an OutOfBoundsException error. The first item has the index zero.
IntegerToIntegerHashMapMBS.Values as Integer()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The order is stable and matches the order returned by Keys at least until the Map is modified. Use this method with For Each to loop through all the values.
The items on this page are in the following plugins: MBS DataTypes Plugin.