StringOrderedSetIteratorMBS methods

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

Back to StringOrderedSetIteratorMBS class.

StringOrderedSetIteratorMBS.isEqual(other as StringOrderedSetIteratorMBS) 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 StringOrderedSetMBS

m.insert("1")
m.insert("2")
m.insert("3")

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

// Show all keys and values
while i.isEqual(e) = false
MsgBox i.Key
i.MoveNext
wend

StringOrderedSetIteratorMBS.isNotEqual(other as StringOrderedSetIteratorMBS) 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 StringOrderedSetMBS

m.insert("1")
m.insert("2")
m.insert("3")

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

// Show all keys and values
while i.isNotEqual(e)
MsgBox i.Key
i.MoveNext
wend

StringOrderedSetIteratorMBS.Key as string

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.

StringOrderedSetIteratorMBS.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 StringOrderedSetMBS

m.insert("1")
m.insert("2")
m.insert("3")

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

// Show all keys and values
while i.isNotEqual(e)
MsgBox i.Key
i.MoveNext
wend

StringOrderedSetIteratorMBS.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.

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


💬 Ask a question or report a problem