Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

IntegerToIntegerHashMapIteratorMBS 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 IntegerToIntegerHashMap class.
Example:
// Create a map
dim m as new IntegerToIntegerHashMapMBS

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

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

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

Feedback, Comments & Corrections

  • property Value as Integer
  • 4 methods
    • method isEqual(other as IntegerToIntegerHashMapIteratorMBS) as boolean
    • method isNotEqual(other as IntegerToIntegerHashMapIteratorMBS) 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.


IntegerRectMBS   -   IntegerToIntegerHashMapMBS




Links
MBS Xojo Plugins