PreviousThreadedCallback Up
Base Class Library

ValueSet

An instance of ValueSet is a collection of non-ordered objects or intrinsics. Duplicates are not allowed in a ValueSet. The ValueSet class tests for duplicates by sending elements the "equal" message.

Elements are only compared with the "equal" message if they have the same hash value. Objects return hash values when you send them the "hash" message. You should override the default implementation of "hash" in the Base class anytime that you override the default implementation of "equal". The defaults are based on object handles, not on their contents.

See class IdentitySet.

Class-Control Entry

Include this entry in the Class-Control paragraph of any program using this class.

ValueSet is class "valueset"

Superclass

buttonCollection


buttonClass Methods


Instance Methods

The list includes methods inherited from superclasses up to, but not including, Collection. For other inherited methods, click the button below:

buttonCollection

add Using anelement
capacity Returning acollectionsize
concat Using acollection
Returning anewcollection
copy Returning result
do Using amessage
doWithOutCopy Using amessage
grow
includes Using anelement
Returning lnkbool
minus Using acollection
Returning anewcollection
occurrencesOf Using anelement
Returning anumber
remove Using anelement
reverseDo Using amessage
size Returning acollectionsize