Platforms to show: All Mac Windows Linux Cross-Platform

Back to IntegerToIntegerOrderedMapIteratorMBS class.

IntegerToIntegerOrderedMapIteratorMBS.isEqual(other as IntegerToIntegerOrderedMapIteratorMBS) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Data Types MBS DataTypes Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns true if both iterators are equal.
Example
// Create a map
dim m as new IntegerToIntegerOrderedMapMBS

m.value(1)=2
m.value(2)=4
m.value(3)=8

// get iterators pointing to first and after last element
dim i as IntegerToIntegerOrderedMapIteratorMBS = m.first
dim e as IntegerToIntegerOrderedMapIteratorMBS = m.last

// Show all keys and values
while i.isEqual(e) = false
MsgBox str(i.Key)+" -> "+str(i.Value)
i.MoveNext
wend

IntegerToIntegerOrderedMapIteratorMBS.isNotEqual(other as IntegerToIntegerOrderedMapIteratorMBS) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Data Types MBS DataTypes Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns true if both iterators are not equal.
Example
// Create a map
dim m as new IntegerToIntegerOrderedMapMBS

m.value(1)=2
m.value(2)=4
m.value(3)=8

// get iterators pointing to first and after last element
dim i as IntegerToIntegerOrderedMapIteratorMBS = m.first
dim e as IntegerToIntegerOrderedMapIteratorMBS = m.last

// Show all keys and values
while i.isNotEqual(e)
MsgBox str(i.Key)+" -> "+str(i.Value)
i.MoveNext
wend

IntegerToIntegerOrderedMapIteratorMBS.Key as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Data Types MBS DataTypes Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the current key.

IntegerToIntegerOrderedMapIteratorMBS.MoveNext

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Data Types MBS DataTypes Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Moves the iterator to the next item.
Example
// Create a map
dim m as new IntegerToIntegerOrderedMapMBS

m.value(1)=2
m.value(2)=4
m.value(3)=8

// get iterators pointing to first and after last element
dim i as IntegerToIntegerOrderedMapIteratorMBS = m.first
dim e as IntegerToIntegerOrderedMapIteratorMBS = m.last

// Show all keys and values
while i.isNotEqual(e)
MsgBox str(i.Key)+" -> "+str(i.Value)
i.MoveNext
wend

IntegerToIntegerOrderedMapIteratorMBS.MovePrev

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Data Types MBS DataTypes Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Moves the iterator to the previous item.

IntegerToIntegerOrderedMapIteratorMBS.Value as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Data Types MBS DataTypes Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The value of the current item in the iterator.

(Read and Write computed property)

The items on this page are in the following plugins: MBS DataTypes Plugin.


The biggest plugin in space...