Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

IntegerToVariantHashMapIteratorMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Data Types MBS DataTypes Plugin 8.2 Yes Yes Yes Yes No
Function: The iterator for the IntegerToVariantHashMap class.
Example:
// Create a map
dim m as new IntegerToVariantHashMapMBS

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

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

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

Feedback, Comments & Corrections

  • property Value as Variant
  • 4 methods
    • method isEqual(other as IntegerToVariantHashMapIteratorMBS) as boolean
    • method isNotEqual(other as IntegerToVariantHashMapIteratorMBS) as boolean
    • method Key as Integer
    • method MoveNext

This class has no sub classes.

Some methods using this class:


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


IntegerToTextOrderedMapMBS   -   IntegerToVariantHashMapMBS




Links
MBS Xojo Plugins