Platforms to show: All Mac Windows Linux Cross-Platform
VariantOrderedSetMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
When using variants for keys, you may get better results if all keys used have the same data type to improve comparison.
All text comparison is done either case sensitive or insensitive. Defined in constructor.
You can choose whether you want to keep the set ordered using the OrderedSet class or whether you prefer a higher speed with the HashSet class.
- 4 properties
- property CaseSensitive as Boolean
- property Count as Integer
- property Empty as Boolean
- property MaxSize as Integer
- 17 methods
- method Clear
- method Constructor(CaseSensitive as Boolean = true)
- method Constructor(Keys() as string)
- method Constructor(Keys() as Variant)
- method CountKey(key as Variant) as Integer
- method find(key as Variant) as VariantOrderedSetIteratorMBS
- method first as VariantOrderedSetIteratorMBS
- method insert(key as Variant)
- method Key(index as Integer) as Variant
- method Keys as Variant()
- method last as VariantOrderedSetIteratorMBS
- method lookup(key as Variant) as boolean
- method LowerBound(key as Variant) as VariantOrderedSetIteratorMBS
- method Remove(first as VariantOrderedSetIteratorMBS, last as VariantOrderedSetIteratorMBS)
- method Remove(key as Variant) as Integer
- method Remove(pos as VariantOrderedSetIteratorMBS)
- method UpperBound(key as Variant) as VariantOrderedSetIteratorMBS
This class has no sub classes.
Some examples using this class:
The items on this page are in the following plugins: MBS DataTypes Plugin.
VariantOrderedSetIteratorMBS - VariantToVariantHashMapIteratorMBS