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

Properties

LastError (console safe) Use this property to get the Last error code generated by the set.

Methods

Add (console safe) Use this method to add a object to the set container.
AddItems (console safe) Use this method to add multiple objects from any container that implements the IIterator interface.
Clear (console safe) Use this method to clear all items from the set container.
Count (console safe) Use this function to get the number of items in the set container.
Exists (console safe) Use this function to check for existence of a item in the set container.
GetAt (console safe) Use this function to get item number n from the set container.
GetNext (console safe) Use to get next item from the ObjectSet.
HasNext (console safe) Use to get info if there are more items in the ObjectSet.
MoveFirst (console safe) Use to reset the iterator in the ObjectSet.
Operator_Subscript (console safe) Implements operator to read from the set with the ( ) indexer operator.
PeekNext (console safe) Use this function to peek at next item from the ObjectSet without causing iteration.
Remove (console safe) Use this method to add remove object from the collection by a given object.
Remove (console safe) Use this method to add remove object from the collection by a given index.
Sort (console safe) Use this method to sort the set container.

Supported Platforms:

  • MacOS X Carbon
  • MacOS X Cocoa 32 bit
  • MacOS X Cocoa 64 bit
  • Windows 32 bit
  • Windows 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM