Platforms to show: All Mac Windows Linux Cross-Platform
Back to IntegerToStringOrderedMapMBS class.
IntegerToStringOrderedMapMBS.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.
IntegerToStringOrderedMapMBS.AddValues(targetArray() as string)
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.
IntegerToStringOrderedMapMBS.Clear
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
IntegerToStringOrderedMapMBS.Clone as IntegerToStringOrderedMapMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 12.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
IntegerToStringOrderedMapMBS.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 |
IntegerToStringOrderedMapMBS.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:
IntegerToStringOrderedMapMBS.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:
IntegerToStringOrderedMapMBS.Constructor(other as IntegerToStringOrderedMapMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 12.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
IntegerToStringOrderedMapMBS.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 |
IntegerToStringOrderedMapMBS.find(key as Integer) as IntegerToStringOrderedMapIteratorMBS
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.
IntegerToStringOrderedMapMBS.first as IntegerToStringOrderedMapIteratorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
IntegerToStringOrderedMapMBS.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 |
IntegerToStringOrderedMapMBS.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.
IntegerToStringOrderedMapMBS.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.
IntegerToStringOrderedMapMBS.last as IntegerToStringOrderedMapIteratorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
IntegerToStringOrderedMapMBS.lookup(key as Integer, defaultvalue as string) as string
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.
IntegerToStringOrderedMapMBS.LowerBound(key as Integer) as IntegerToStringOrderedMapIteratorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
IntegerToStringOrderedMapMBS.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 |
IntegerToStringOrderedMapMBS.Remove(first as IntegerToStringOrderedMapIteratorMBS, last as IntegerToStringOrderedMapIteratorMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
IntegerToStringOrderedMapMBS.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:
IntegerToStringOrderedMapMBS.Remove(pos as IntegerToStringOrderedMapIteratorMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
IntegerToStringOrderedMapMBS.UpperBound(key as Integer) as IntegerToStringOrderedMapIteratorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
IntegerToStringOrderedMapMBS.value(key as Integer) as string
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)
IntegerToStringOrderedMapMBS.ValueAtIndex(index as Integer) as string
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.
IntegerToStringOrderedMapMBS.Values as string()
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.