CoreClasses Xojo Plugin

ObjectSet Class (console safe)

ObjectSet is a high speed container class based on the concept that there can only be one instance of every object. Which means if its hashing algorithms detect that you are adding the same object multiple times then it will only make one record.

Note: ObjectSet is 0 based, that is the first item is number 0.

Object
   ObjectSet

class ObjectSet implements

IArrayReader

IIterator

IObjectAddable

Iterable

Iterator

Properties

LastErrorUse this property to get the Last error code generated by the set.

Methods

AddUse this method to add a object to the set container.
AddItemsUse this method to add multiple objects from any container that implements the IIterator interface.
ClearUse this method to clear all items from the set container.
CountUse this function to get the number of items in the set container.
ExistsUse this function to check for existence of a item in the set container.
GetAtUse this function to get item number n from the set container.
GetNextUse to get next item from the ObjectSet.
HasNextUse to get info if there are more items in the ObjectSet.
MoveFirstUse to reset the iterator in the ObjectSet.
Operator_SubscriptImplements operator to read from the set with the ( ) indexer operator.
PeekNextUse this function to peek at next item from the ObjectSet without causing iteration.
RemoveUse this method to add remove object from the collection by a given index.
RemoveUse this method to add remove object from the collection by a given object.
SortUse this method to sort the set container.

Supported Platforms:

  • macOS Intel 64 bit
  • macOS Apple Silicon
  • Windows 32 bit
  • Windows 64 bit
  • Windows ARM 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM 32 bit
  • Linux ARM 64 bit
  • iOS